From 8c04e8e9e28f7fdf1df36f2630bd998d0acc746c Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期一, 21 十月 2024 14:01:41 +0800 Subject: [PATCH] 更新uniSDk后,Android14打开uni界面正常 --- app/src/main/res/layout/fragment_house_list.xml | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/app/src/main/res/layout/fragment_house_list.xml b/app/src/main/res/layout/fragment_house_list.xml index b3f92bd..053fc29 100644 --- a/app/src/main/res/layout/fragment_house_list.xml +++ b/app/src/main/res/layout/fragment_house_list.xml @@ -12,7 +12,7 @@ android:layout_width="match_parent" android:layout_height="@dimen/dp_44" android:layout_marginStart="@dimen/dp_16" - android:layout_marginTop="@dimen/dp_44" + android:layout_marginTop="@dimen/dp_38" android:layout_marginEnd="@dimen/dp_16" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -76,8 +76,8 @@ <androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/power_station_label_top_cl" android:layout_width="match_parent" - android:layout_height="174dp" - android:layout_marginTop="@dimen/dp_21"> + android:layout_height="wrap_content" + android:layout_marginTop="@dimen/dp_13"> <!--鎼滅储--> <RelativeLayout android:id="@+id/power_station_search_cl" @@ -291,6 +291,7 @@ android:id="@+id/fragment_house_srl" android:layout_width="match_parent" android:layout_height="match_parent" + android:layout_marginTop="@dimen/dp_21" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -299,9 +300,7 @@ <androidx.recyclerview.widget.RecyclerView android:id="@+id/fragment_house_srl_list_rc" android:layout_width="match_parent" - android:layout_height="match_parent" - android:clipToPadding="false" - android:paddingBottom="@dimen/dp_16" /> + android:layout_height="match_parent" /> </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> @@ -323,7 +322,7 @@ android:id="@+id/device_label_top_cl" android:layout_width="match_parent" android:layout_height="40dp" - android:layout_marginTop="@dimen/dp_21"> + android:layout_marginTop="@dimen/dp_13"> <!--鎼滅储--> <RelativeLayout android:id="@+id/device_search_cl" -- Gitblit v1.8.0