From 2a6c0d9a93923f852a90f9f53f5e75985ad5bf73 Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期四, 14 十二月 2023 09:52:10 +0800 Subject: [PATCH] 2023年12月14日09:51:57 --- app/src/main/res/layout/fragment_house_list.xml | 17 ++++++++++------- 1 files changed, 10 insertions(+), 7 deletions(-) diff --git a/app/src/main/res/layout/fragment_house_list.xml b/app/src/main/res/layout/fragment_house_list.xml index 60365ea..2a595f7 100644 --- a/app/src/main/res/layout/fragment_house_list.xml +++ b/app/src/main/res/layout/fragment_house_list.xml @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" + android:id="@+id/house_list_parent" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent"> @@ -8,16 +9,16 @@ <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" @@ -39,7 +40,7 @@ android:id="@+id/fragment_house_list_content_title1_tv" android:layout_width="wrap_content" android:layout_height="@dimen/dp_20" - android:text="@string/my_power_station_鍙戠數鍔熺巼" + android:text="@string/power_station_generated_power" android:textColor="@color/text_90000000" android:textSize="@dimen/text_14" /> @@ -66,7 +67,7 @@ android:id="@+id/fragment_house_list_content_title2_tv" android:layout_width="wrap_content" android:layout_height="@dimen/dp_20" - android:text="@string/my_power_station_浠婃棩鍙戠數" + android:text="@string/power_station_Power_generation_today" android:textColor="@color/text_90000000" android:textSize="@dimen/text_14" /> @@ -93,7 +94,7 @@ android:id="@+id/fragment_house_list_content_title3_tv" android:layout_width="wrap_content" android:layout_height="@dimen/dp_20" - android:text="@string/my_power_station_鍒涘缓鏃堕棿" + android:text="@string/power_station_creation_time" android:textColor="@color/text_90000000" android:textSize="@dimen/text_14" /> @@ -124,7 +125,9 @@ <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> -- Gitblit v1.8.0