From a0dc6be52293a64ebfe38b8c2391dc7d2ffe63ae Mon Sep 17 00:00:00 2001 From: Linjiajia <319408893@qq.com> Date: 星期一, 15 五月 2023 20:05:27 +0800 Subject: [PATCH] 提交代码 --- app/src/main/res/layout/activity_family_assets.xml | 25 +++++++++++++++++++------ 1 files changed, 19 insertions(+), 6 deletions(-) diff --git a/app/src/main/res/layout/activity_family_assets.xml b/app/src/main/res/layout/activity_family_assets.xml index 3af418b..6409ac9 100644 --- a/app/src/main/res/layout/activity_family_assets.xml +++ b/app/src/main/res/layout/activity_family_assets.xml @@ -127,17 +127,30 @@ /> </LinearLayout> - <androidx.recyclerview.widget.RecyclerView - android:id="@+id/recyclerView" + <com.scwang.smart.refresh.layout.SmartRefreshLayout + android:id="@+id/refreshLayout" android:layout_width="match_parent" android:layout_height="0dp" android:background="@color/color_normal_background" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintTop_toBottomOf="@+id/titleBar" - app:layout_constraintVertical_bias="1.0" - tools:itemCount="20" - tools:layout_editor_absoluteX="-81dp" - tools:listitem="@layout/item_family_memorabilia" /> + > + <com.scwang.smart.refresh.header.MaterialHeader + android:layout_width="match_parent" + android:layout_height="wrap_content" + /> + + <androidx.recyclerview.widget.RecyclerView + android:id="@+id/recyclerView" + android:layout_width="match_parent" + android:layout_height="match_parent" + tools:itemCount="20" + tools:listitem="@layout/item_family_assets" /> + + <com.scwang.smart.refresh.footer.BallPulseFooter + android:layout_width="match_parent" + android:layout_height="wrap_content"/> + </com.scwang.smart.refresh.layout.SmartRefreshLayout> </androidx.constraintlayout.widget.ConstraintLayout> -- Gitblit v1.9.1