123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- <?xml version="1.0" encoding="utf-8"?>
- <layout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:background="#F6F6F6"
- android:layout_height="match_parent"
- tools:context=".ui.ChatActivity">
- <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
- android:id="@+id/refreshLayout"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:tag="layout/activity_base_list_0"
- app:layout_constraintBottom_toTopOf="@+id/line"
- app:layout_constraintTop_toTopOf="parent">
- <com.xuqm.base.view.EmptyView
- android:id="@+id/baseEmptyView"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/baseRecyclerView"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:overScrollMode="never" />
- </com.xuqm.base.view.EmptyView>
- </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
- <View
- android:id="@+id/line"
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/line"
- app:layout_constraintBottom_toTopOf="@+id/tools" />
- <androidx.constraintlayout.widget.ConstraintLayout
- android:id="@+id/tools"
- android:layout_width="match_parent"
- android:layout_height="60dp"
- app:layout_constraintBottom_toBottomOf="parent">
- <EditText
- android:id="@+id/et"
- android:layout_width="0dp"
- android:layout_height="50dp"
- android:layout_marginHorizontal="5dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toStartOf="@+id/btn_send"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <Button
- android:id="@+id/btn_send"
- android:layout_width="65dp"
- android:layout_height="40dp"
- android:layout_marginHorizontal="5dp"
- android:text="发送"
- android:textSize="11sp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.constraintlayout.widget.ConstraintLayout>
- </layout>
|