From 55751f180a45e83eeba357a7fdde0375f1a64ea4 Mon Sep 17 00:00:00 2001
From: mac <user@users-MacBook-Pro.local>
Date: 星期一, 22 七月 2024 13:53:49 +0800
Subject: [PATCH] 2024年07月22日13:53:46
---
app/src/main/res/layout/fragment_house_list.xml | 57 +++++++++++++++++++++++++++++++--------------------------
1 files changed, 31 insertions(+), 26 deletions(-)
diff --git a/app/src/main/res/layout/fragment_house_list.xml b/app/src/main/res/layout/fragment_house_list.xml
index c4488fb..d8ce385 100644
--- a/app/src/main/res/layout/fragment_house_list.xml
+++ b/app/src/main/res/layout/fragment_house_list.xml
@@ -4,7 +4,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/house_list_parent"
android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:layout_height="match_parent"
+ android:background="@drawable/bj">
<!--澶撮儴鏍囩-->
<RelativeLayout
android:id="@+id/title_cl"
@@ -23,7 +24,7 @@
android:layout_height="match_parent"
android:layout_centerVertical="true"
android:gravity="center_vertical"
- android:text="Power Station"
+ android:text="@string/power_station"
android:textColor="@color/text_E6000000"
android:textSize="@dimen/text_20"
android:textStyle="bold" />
@@ -32,13 +33,12 @@
android:id="@+id/device_label"
android:layout_width="wrap_content"
android:layout_height="match_parent"
- android:layout_centerVertical="true"
- android:layout_marginStart="@dimen/dp_21"
- android:layout_marginEnd="@dimen/dp_4"
+ android:layout_marginStart="19dp"
+ android:layout_marginEnd="7dp"
android:layout_toStartOf="@+id/edit_iv"
android:layout_toEndOf="@+id/power_station_label"
android:gravity="start|center_vertical"
- android:text="Equipment"
+ android:text="@string/device"
android:textColor="@color/text_66000000"
android:textSize="@dimen/text_16"
@@ -51,6 +51,7 @@
android:layout_marginEnd="@dimen/dp_13"
android:layout_toStartOf="@+id/add_iv"
android:src="@drawable/edit"
+ android:visibility="gone"
/>
@@ -170,7 +171,6 @@
android:layout_height="@dimen/dp_17"
android:layout_marginStart="@dimen/dp_16"
android:layout_marginTop="@dimen/dp_21"
- android:layout_marginEnd="@dimen/dp_12"
android:orientation="horizontal"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
@@ -178,10 +178,8 @@
<RelativeLayout
android:id="@+id/station_name_rl"
- android:layout_width="0dp"
+ android:layout_width="wrap_content"
android:layout_height="match_parent"
- android:layout_weight="1"
- android:gravity="center"
android:orientation="horizontal">
<TextView
@@ -191,7 +189,8 @@
android:text="@string/station_name"
android:textColor="@color/text_E6000000"
android:textSize="@dimen/text_12"
- android:textStyle="bold" />
+
+ />
<ImageView
android:id="@+id/station_name_iv"
@@ -199,15 +198,18 @@
android:layout_height="@dimen/dp_18"
android:layout_toEndOf="@+id/station_name_tv"
android:background="@drawable/ascending_descending_order_select" />
+
+ <View
+ android:layout_width="@dimen/dp_16"
+ android:layout_height="match_parent"
+ android:layout_toEndOf="@+id/station_name_iv" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/station_power_rl"
- android:layout_width="0dp"
+ android:layout_width="wrap_content"
android:layout_height="match_parent"
- android:layout_weight="1"
- android:gravity="center"
android:orientation="horizontal">
<TextView
@@ -216,8 +218,7 @@
android:layout_height="@dimen/dp_17"
android:text="@string/generated_power"
android:textColor="@color/text_E6000000"
- android:textSize="@dimen/text_12"
- android:textStyle="bold" />
+ android:textSize="@dimen/text_12" />
<ImageView
android:id="@+id/station_power_iv"
@@ -225,15 +226,18 @@
android:layout_height="@dimen/dp_18"
android:layout_toEndOf="@+id/station_power_tv"
android:background="@drawable/ascending_descending_order_select" />
+
+ <View
+ android:layout_width="@dimen/dp_16"
+ android:layout_height="match_parent"
+ android:layout_toEndOf="@+id/station_power_iv" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/station_day_rl"
- android:layout_width="0dp"
+ android:layout_width="wrap_content"
android:layout_height="match_parent"
- android:layout_weight="1"
- android:gravity="center"
android:orientation="horizontal">
<TextView
@@ -242,8 +246,7 @@
android:layout_height="@dimen/dp_17"
android:text="@string/day_power_generation"
android:textColor="@color/text_E6000000"
- android:textSize="@dimen/text_12"
- android:textStyle="bold" />
+ android:textSize="@dimen/text_12" />
<ImageView
android:id="@+id/station_day_iv"
@@ -251,15 +254,18 @@
android:layout_height="@dimen/dp_18"
android:layout_toEndOf="@+id/station_day_tv"
android:background="@drawable/ascending_descending_order_select" />
+
+ <View
+ android:layout_width="@dimen/dp_16"
+ android:layout_height="match_parent"
+ android:layout_toEndOf="@+id/station_day_iv" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/station_month_rl"
- android:layout_width="0dp"
+ android:layout_width="wrap_content"
android:layout_height="match_parent"
- android:layout_weight="1"
- android:gravity="center"
android:orientation="horizontal">
<TextView
@@ -268,8 +274,7 @@
android:layout_height="@dimen/dp_17"
android:text="@string/month_power_generation"
android:textColor="@color/text_E6000000"
- android:textSize="@dimen/text_12"
- android:textStyle="bold" />
+ android:textSize="@dimen/text_12" />
<ImageView
android:id="@+id/station_month_iv"
--
Gitblit v1.8.0