From bd9acb07d64afbd8d6454ebbe23f2a3cdd6b8f23 Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期二, 02 七月 2024 15:29:59 +0800 Subject: [PATCH] 2024年07月02日15:29:19 --- app/src/main/res/layout/activity_power_stations_list.xml | 14 +++++--------- 1 files changed, 5 insertions(+), 9 deletions(-) diff --git a/app/src/main/res/layout/activity_power_stations_list.xml b/app/src/main/res/layout/activity_power_stations_list.xml index 996d0fe..b34e5e6 100644 --- a/app/src/main/res/layout/activity_power_stations_list.xml +++ b/app/src/main/res/layout/activity_power_stations_list.xml @@ -16,28 +16,24 @@ android:layout_width="match_parent" android:layout_height="0dp" android:layout_marginTop="@dimen/dp_10" - app:layout_constraintBottom_toTopOf="@+id/add_power_station_tv" + app:layout_constraintBottom_toTopOf="@+id/add_power_station_rl" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/toolbar_top_fragment_house_list_rl"> <androidx.recyclerview.widget.RecyclerView android:id="@+id/fragment_house_srl_list_rc" - android:layout_width="0dp" - android:layout_height="0dp" + android:layout_width="match_parent" + android:layout_height="match_parent" android:clipToPadding="false" - android:paddingBottom="@dimen/dp_16" - app:layout_constraintBottom_toTopOf="@+id/add_power_station_rl" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="@+id/toolbar_top_fragment_house_list_rl" /> + android:paddingBottom="@dimen/dp_16" /> </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> <RelativeLayout - android:background="@color/text_FFFFFFFF" android:id="@+id/add_power_station_rl" android:layout_width="match_parent" android:layout_height="82dp" + android:background="@color/text_FFFFFFFF" android:gravity="center" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" -- Gitblit v1.8.0