From c624adada781dc1f38f5c91e719f0712d984b846 Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期一, 29 四月 2024 18:53:07 +0800 Subject: [PATCH] 2024年04月29日18:52:56 --- app/src/main/res/layout/fragment_house_list.xml | 12 ++++++++---- 1 files changed, 8 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 5a1b9f9..b3850b2 100644 --- a/app/src/main/res/layout/fragment_house_list.xml +++ b/app/src/main/res/layout/fragment_house_list.xml @@ -9,7 +9,7 @@ <androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/power_station_label_top_cl" android:layout_width="match_parent" - android:layout_height="@dimen/dp_200" + android:layout_height="205dp" android:layout_marginTop="@dimen/dp_44" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -31,6 +31,7 @@ android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_centerVertical="true" + android:gravity="center_vertical" android:text="Power Station" android:textColor="@color/text_90000000" android:textSize="@dimen/text_20" @@ -42,9 +43,10 @@ android:layout_height="match_parent" android:layout_centerVertical="true" android:layout_marginStart="@dimen/dp_21" + android:layout_marginEnd="@dimen/dp_4" android:layout_toStartOf="@+id/edit_iv" android:layout_toEndOf="@+id/power_station_label" - android:gravity="" + android:gravity="start|center_vertical" android:text="Equipment" android:textColor="@color/text_40000000" android:textSize="@dimen/text_16" @@ -329,8 +331,9 @@ <ImageView android:id="@+id/station_power_iv" - android:layout_width="@dimen/dp_18" - android:layout_height="@dimen/dp_18" + android:layout_width="wrap_content" + android:layout_height="15dp" + android:layout_marginStart="-8dp" android:layout_toEndOf="@+id/station_power_tv" android:src="@drawable/ascending_sort" /> </RelativeLayout> @@ -401,6 +404,7 @@ app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/power_station_label_top_cl"> <androidx.recyclerview.widget.RecyclerView -- Gitblit v1.8.0