From 9a5e12883dc80df47c7a8b0558adaa5cf5ec3d1f Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期三, 03 七月 2024 18:54:15 +0800 Subject: [PATCH] 2024年07月03日18:54:08 --- app/src/main/res/layout/fragment_house_list.xml | 36 ++++++++++++++++++++++-------------- 1 files changed, 22 insertions(+), 14 deletions(-) diff --git a/app/src/main/res/layout/fragment_house_list.xml b/app/src/main/res/layout/fragment_house_list.xml index 2b677ed..9dffdbe 100644 --- a/app/src/main/res/layout/fragment_house_list.xml +++ b/app/src/main/res/layout/fragment_house_list.xml @@ -171,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" @@ -179,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 @@ -192,7 +189,9 @@ android:text="@string/station_name" android:textColor="@color/text_E6000000" android:textSize="@dimen/text_12" - android:textStyle="bold" /> + android:textStyle="bold" + + /> <ImageView android:id="@+id/station_name_iv" @@ -200,15 +199,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 @@ -226,15 +228,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 @@ -252,15 +257,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 -- Gitblit v1.8.0