From cb133dc1c986326be6f402bd10f6b5260e6fd5e5 Mon Sep 17 00:00:00 2001
From: mac <user@users-MacBook-Pro.local>
Date: 星期一, 29 四月 2024 17:37:12 +0800
Subject: [PATCH] 2024年04月29日17:37:00

---
 app/src/main/res/layout/fragment_house_list.xml |  109 +++++++++++++++++++++++++++++++++---------------------
 1 files changed, 67 insertions(+), 42 deletions(-)

diff --git a/app/src/main/res/layout/fragment_house_list.xml b/app/src/main/res/layout/fragment_house_list.xml
index 86a5314..5a1b9f9 100644
--- a/app/src/main/res/layout/fragment_house_list.xml
+++ b/app/src/main/res/layout/fragment_house_list.xml
@@ -10,11 +10,13 @@
         android:id="@+id/power_station_label_top_cl"
         android:layout_width="match_parent"
         android:layout_height="@dimen/dp_200"
+        android:layout_marginTop="@dimen/dp_44"
         app:layout_constraintEnd_toEndOf="parent"
         app:layout_constraintStart_toStartOf="parent"
         app:layout_constraintTop_toTopOf="parent">
 
         <RelativeLayout
+
             android:id="@+id/title_cl"
             android:layout_width="match_parent"
             android:layout_height="@dimen/dp_31"
@@ -283,86 +285,109 @@
             app:layout_constraintTop_toBottomOf="@+id/screening_condition_ll">
 
             <RelativeLayout
-                android:id="@+id/fragment_house_list_content_title1_rl"
+                android:id="@+id/station_name_rl"
                 android:layout_width="0dp"
                 android:layout_height="match_parent"
-                android:layout_weight="3"
+                android:layout_weight="1"
                 android:gravity="center"
                 android:orientation="horizontal">
 
                 <TextView
-                    android:id="@+id/fragment_house_list_content_title1_tv"
+                    android:id="@+id/station_name_tv"
                     android:layout_width="wrap_content"
-                    android:layout_height="@dimen/dp_20"
-                    android:text="@string/power_station_generated_power"
+                    android:layout_height="@dimen/dp_17"
+                    android:text="@string/station_name"
                     android:textColor="@color/text_90000000"
-                    android:textSize="@dimen/text_14" />
+                    android:textSize="@dimen/text_12"
+                    android:textStyle="bold" />
 
                 <ImageView
-                    android:id="@+id/fragment_house_list_content_title1_iv"
-                    android:layout_width="@dimen/dp_10"
-                    android:layout_height="@dimen/dp_6"
-                    android:layout_alignTop="@+id/fragment_house_list_content_title1_tv"
-                    android:layout_alignBottom="@+id/fragment_house_list_content_title1_tv"
-                    android:layout_marginStart="@dimen/dp_7"
-                    android:layout_toEndOf="@+id/fragment_house_list_content_title1_tv"
-                    android:src="@drawable/down" />
+                    android:id="@+id/station_name_iv"
+                    android:layout_width="@dimen/dp_18"
+                    android:layout_height="@dimen/dp_18"
+                    android:layout_toEndOf="@+id/station_name_tv"
+                    android:src="@drawable/ascending_sort" />
             </RelativeLayout>
+
 
             <RelativeLayout
-                android:id="@+id/fragment_house_list_content_title2_rl"
+                android:id="@+id/station_power_rl"
                 android:layout_width="0dp"
                 android:layout_height="match_parent"
-                android:layout_weight="3"
+                android:layout_weight="1"
                 android:gravity="center"
                 android:orientation="horizontal">
 
                 <TextView
-                    android:id="@+id/fragment_house_list_content_title2_tv"
+                    android:id="@+id/station_power_tv"
                     android:layout_width="wrap_content"
-                    android:layout_height="@dimen/dp_20"
-                    android:text="@string/power_station_Power_generation_today"
+                    android:layout_height="@dimen/dp_17"
+                    android:text="@string/generated_power"
                     android:textColor="@color/text_90000000"
-                    android:textSize="@dimen/text_14" />
+                    android:textSize="@dimen/text_12"
+                    android:textStyle="bold" />
 
                 <ImageView
-                    android:id="@+id/my_power_station_content_title2_iv"
-                    android:layout_width="@dimen/dp_10"
-                    android:layout_height="@dimen/dp_6"
-                    android:layout_alignTop="@+id/fragment_house_list_content_title2_tv"
-                    android:layout_alignBottom="@+id/fragment_house_list_content_title2_tv"
-                    android:layout_marginStart="@dimen/dp_7"
-                    android:layout_toEndOf="@+id/fragment_house_list_content_title2_tv"
-                    android:src="@drawable/down" />
+                    android:id="@+id/station_power_iv"
+                    android:layout_width="@dimen/dp_18"
+                    android:layout_height="@dimen/dp_18"
+                    android:layout_toEndOf="@+id/station_power_tv"
+                    android:src="@drawable/ascending_sort" />
             </RelativeLayout>
+
 
             <RelativeLayout
-                android:id="@+id/fragment_house_list_content_title3_rl"
+                android:id="@+id/station_day_rl"
                 android:layout_width="0dp"
                 android:layout_height="match_parent"
-                android:layout_weight="3"
+                android:layout_weight="1"
                 android:gravity="center"
                 android:orientation="horizontal">
 
                 <TextView
-                    android:id="@+id/fragment_house_list_content_title3_tv"
+                    android:id="@+id/station_day_tv"
                     android:layout_width="wrap_content"
-                    android:layout_height="@dimen/dp_20"
-                    android:text="@string/power_station_creation_time"
+                    android:layout_height="@dimen/dp_17"
+                    android:text="@string/day_power_generation"
                     android:textColor="@color/text_90000000"
-                    android:textSize="@dimen/text_14" />
+                    android:textSize="@dimen/text_12"
+                    android:textStyle="bold" />
 
                 <ImageView
-                    android:id="@+id/fragment_house_list_content_title3_iv"
-                    android:layout_width="@dimen/dp_10"
-                    android:layout_height="@dimen/dp_6"
-                    android:layout_alignTop="@+id/fragment_house_list_content_title3_tv"
-                    android:layout_alignBottom="@+id/fragment_house_list_content_title3_tv"
-                    android:layout_marginStart="@dimen/dp_7"
-                    android:layout_toEndOf="@+id/fragment_house_list_content_title3_tv"
-                    android:src="@drawable/down" />
+                    android:id="@+id/station_day_iv"
+                    android:layout_width="@dimen/dp_18"
+                    android:layout_height="@dimen/dp_18"
+                    android:layout_toEndOf="@+id/station_day_tv"
+                    android:src="@drawable/ascending_sort" />
             </RelativeLayout>
 
+
+            <RelativeLayout
+                android:id="@+id/station_month_rl"
+                android:layout_width="0dp"
+                android:layout_height="match_parent"
+                android:layout_weight="1"
+                android:gravity="center"
+                android:orientation="horizontal">
+
+                <TextView
+                    android:id="@+id/station_month_tv"
+                    android:layout_width="wrap_content"
+                    android:layout_height="@dimen/dp_17"
+                    android:text="@string/month_power_generation"
+                    android:textColor="@color/text_90000000"
+                    android:textSize="@dimen/text_12"
+                    android:textStyle="bold" />
+
+                <ImageView
+                    android:id="@+id/station_month_iv"
+                    android:layout_width="@dimen/dp_18"
+                    android:layout_height="@dimen/dp_18"
+                    android:layout_toEndOf="@+id/station_month_tv"
+                    android:src="@drawable/ascending_sort" />
+            </RelativeLayout>
+
+
         </LinearLayout>
 
 

--
Gitblit v1.8.0