From 5265d4d26f006d4a0dab77c49d9d740e0bbb97b1 Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期五, 02 八月 2024 11:55:49 +0800 Subject: [PATCH] 2024年08月02日11:55:40 --- app/src/main/res/layout/activity_power_stations_list.xml | 44 +++++++++++++++++++++++--------------------- 1 files changed, 23 insertions(+), 21 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 41e4eb4..e8ddd13 100644 --- a/app/src/main/res/layout/activity_power_stations_list.xml +++ b/app/src/main/res/layout/activity_power_stations_list.xml @@ -15,39 +15,41 @@ android:id="@+id/fragment_house_srl" android:layout_width="match_parent" android:layout_height="0dp" - android:layout_marginTop="@dimen/dp_10" - app:layout_constraintBottom_toTopOf="@+id/add_power_station_tv" + android:layout_marginTop="@dimen/dp_12" + 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:layout_marginBottom="@dimen/dp_100" - > + 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" - app:layout_constraintBottom_toTopOf="@+id/add_power_station_tv" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="@+id/toolbar_top_fragment_house_list_rl" + android:layout_width="match_parent" + android:layout_height="match_parent" android:clipToPadding="false" android:paddingBottom="@dimen/dp_16" /> </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> - <TextView - android:id="@+id/add_power_station_tv" - android:layout_width="0dp" - android:layout_height="52dp" - android:layout_marginTop="44dp" - android:background="@drawable/checked" + <RelativeLayout + android:id="@+id/add_power_station_rl" + android:layout_width="match_parent" + android:layout_height="82dp" + android:background="@color/text_FFFFFFFF" android:gravity="center" - android:text="@string/add_power_station" - android:textColor="@color/text_FFFFFFFF" - android:textSize="18sp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toStartOf="parent" /> + app:layout_constraintStart_toStartOf="parent"> + + <TextView + android:id="@+id/add_power_station_tv" + android:layout_width="335dp" + android:layout_height="52dp" + android:background="@drawable/checked" + android:gravity="center" + android:text="@string/add_power_station" + android:textColor="@color/text_FFFFFFFF" + android:textSize="18sp" /> + </RelativeLayout> + <!--娌℃湁鏁版嵁鏄剧ず鏍峰紡--> <include -- Gitblit v1.8.0