From 7152ea130caebe9b99a31f3d1b77a39fecce36df Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期四, 29 二月 2024 17:06:09 +0800 Subject: [PATCH] 2024年02月29日17:06:04 --- app/src/main/res/layout/fragment_house_list.xml | 23 +++++++++++++++++++---- 1 files changed, 19 insertions(+), 4 deletions(-) diff --git a/app/src/main/res/layout/fragment_house_list.xml b/app/src/main/res/layout/fragment_house_list.xml index de32d99..0722160 100644 --- a/app/src/main/res/layout/fragment_house_list.xml +++ b/app/src/main/res/layout/fragment_house_list.xml @@ -2,22 +2,23 @@ <androidx.constraintlayout.widget.ConstraintLayout 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" + android:id="@+id/house_list_parent" android:layout_width="match_parent" android:layout_height="match_parent"> <include android:id="@+id/toolbar_top_fragment_house_list_rl" layout="@layout/toolbar_top_view_52" /> + <RelativeLayout android:id="@+id/fragment_house_list_head_rl" android:layout_width="match_parent" android:layout_height="@dimen/dp_64" android:background="@color/text_F9FAFB" + android:visibility="gone" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="@+id/toolbar_top_fragment_house_list_rl" - android:visibility="gone" - > + app:layout_constraintTop_toBottomOf="@+id/toolbar_top_fragment_house_list_rl"> <LinearLayout android:id="@+id/fragment_house_list_content_ll" @@ -124,9 +125,23 @@ <androidx.recyclerview.widget.RecyclerView android:id="@+id/fragment_house_srl_list_rc" android:layout_width="match_parent" - android:layout_height="match_parent" /> + android:layout_height="match_parent" + android:clipToPadding="false" + android:paddingBottom="@dimen/dp_16" /> </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> + <!--娌℃湁鏁版嵁鏄剧ず鏍峰紡--> + <include + android:id="@+id/null_data_ic" + layout="@layout/null_data_view" + android:layout_width="match_parent" + android:layout_height="224dp" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" + android:visibility="gone" + /> </androidx.constraintlayout.widget.ConstraintLayout> -- Gitblit v1.8.0