From a0e8f81afc4fe2a21a5c504d53e569ea50d463d6 Mon Sep 17 00:00:00 2001
From: mac <user@users-MacBook-Pro.local>
Date: 星期五, 15 三月 2024 11:51:23 +0800
Subject: [PATCH] 2024年03月15日11:51:17
---
app/src/main/res/layout/fragment_house_list.xml | 24 ++++++++++++++++++++----
1 files changed, 20 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 f9e2a3e..0722160 100644
--- a/app/src/main/res/layout/fragment_house_list.xml
+++ b/app/src/main/res/layout/fragment_house_list.xml
@@ -2,6 +2,7 @@
<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">
@@ -14,6 +15,7 @@
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">
@@ -38,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" />
@@ -65,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" />
@@ -92,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" />
@@ -123,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