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 | 42 ++++++++++++++++++++++--------------------
1 files changed, 22 insertions(+), 20 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..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,38 +16,40 @@
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"
- 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