From 1c22df6f9f652b00fb64f523f1e2ee717fb4cc68 Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期四, 14 十二月 2023 18:02:58 +0800 Subject: [PATCH] 2023年12月14日18:02:49 --- app/src/main/res/layout/fragment_recover_message.xml | 22 +++++++++++++--------- 1 files changed, 13 insertions(+), 9 deletions(-) diff --git a/app/src/main/res/layout/fragment_recover_message.xml b/app/src/main/res/layout/fragment_recover_message.xml index 7d5844b..cd7964c 100644 --- a/app/src/main/res/layout/fragment_recover_message.xml +++ b/app/src/main/res/layout/fragment_recover_message.xml @@ -5,14 +5,18 @@ android:layout_width="match_parent" android:layout_height="match_parent"> - <androidx.recyclerview.widget.RecyclerView - android:id="@+id/message_recover_recyclerview" - android:layout_width="0dp" - android:layout_height="0dp" - android:background="@color/text_FFB300" - app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" /> + <androidx.swiperefreshlayout.widget.SwipeRefreshLayout + android:id="@+id/message_recover_srl" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <androidx.recyclerview.widget.RecyclerView + android:id="@+id/message_recover_recyclerview" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:clipToPadding="false" + android:paddingBottom="@dimen/dp_16" /> + </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> + </androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file -- Gitblit v1.8.0