|
@@ -2,7 +2,8 @@
|
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
|
|
- <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ <LinearLayout
|
|
|
+ android:orientation="vertical"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
@@ -71,9 +72,9 @@
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
android:id="@+id/empty"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:visibility="visible"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/top">
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:visibility="gone">
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/head"
|
|
@@ -149,12 +150,10 @@
|
|
|
android:layout_width="345dp"
|
|
|
android:layout_height="145dp"
|
|
|
android:layout_marginTop="-14dp"
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
android:background="@drawable/bg_tag_match"
|
|
|
android:padding="15dp"
|
|
|
- android:visibility="gone"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/top">
|
|
|
+ android:visibility="visible">
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/avatar3"
|
|
@@ -241,20 +240,27 @@
|
|
|
app:layout_constraintTop_toBottomOf="@+id/line" />
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
- <!-- <View-->
|
|
|
- <!-- android:id="@id/view"-->
|
|
|
- <!-- android:layout_width="match_parent"-->
|
|
|
- <!-- android:layout_height="50dp"-->
|
|
|
- <!-- android:visibility="gone"-->
|
|
|
- <!-- app:layout_constraintBottom_toBottomOf="parent" />-->
|
|
|
+ <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
+ android:id="@+id/baseRefreshLayout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:paddingTop="3dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:visibility="visible">
|
|
|
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/baseRecyclerView"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_weight="2"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:overScrollMode="never" />
|
|
|
+ </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
android:id="@+id/toolbar"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:minHeight="80dp"
|
|
|
- android:paddingVertical="16dp"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent">
|
|
|
+ android:paddingVertical="16dp">
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/send_pic"
|
|
@@ -283,6 +289,7 @@
|
|
|
android:background="@drawable/bg_cfd4e0_20"
|
|
|
android:gravity="center_vertical|end"
|
|
|
android:orientation="horizontal"
|
|
|
+ android:paddingVertical="10dp"
|
|
|
android:paddingStart="15dp"
|
|
|
android:paddingEnd="6dp"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
@@ -297,7 +304,8 @@
|
|
|
android:layout_marginEnd="10dp"
|
|
|
android:background="@null"
|
|
|
android:maxLines="3"
|
|
|
- android:minHeight="52dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:minHeight="30dp"
|
|
|
android:textColor="#ff222222"
|
|
|
android:textSize="14sp"
|
|
|
android:textStyle="bold" />
|
|
@@ -306,7 +314,6 @@
|
|
|
android:id="@+id/can_send"
|
|
|
android:layout_width="32dp"
|
|
|
android:layout_height="32dp"
|
|
|
- android:layout_marginVertical="10dp"
|
|
|
android:src="@mipmap/can_send"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
app:layout_constraintEnd_toStartOf="@+id/view_send"
|
|
@@ -314,24 +321,11 @@
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
</LinearLayout>
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
-
|
|
|
- <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
- android:id="@+id/baseRefreshLayout"
|
|
|
+ <View
|
|
|
+ android:id="@+id/bto"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:paddingTop="3dp"
|
|
|
- android:visibility="gone"
|
|
|
- app:layout_constraintBottom_toTopOf="@+id/toolbar"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/chat_top">
|
|
|
+ android:layout_height="0dp"/>
|
|
|
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
- android:id="@+id/baseRecyclerView"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:overScrollMode="never" />
|
|
|
- </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
|
|
|
- </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+ </LinearLayout>
|
|
|
</layout>
|