From c3542b10ea66a1c3fad44fe8e0efd357d7d3857e Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期三, 19 十一月 2025 19:32:41 +0800
Subject: [PATCH] 2025年11月19日19:32:39
---
app/src/main/res/layout/activity_house_search.xml | 62 ++++++++++++++++++++----------
1 files changed, 41 insertions(+), 21 deletions(-)
diff --git a/app/src/main/res/layout/activity_house_search.xml b/app/src/main/res/layout/activity_house_search.xml
index c17c4a5..9175ddc 100644
--- a/app/src/main/res/layout/activity_house_search.xml
+++ b/app/src/main/res/layout/activity_house_search.xml
@@ -4,7 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="@color/text_F5F7FA"
+ android:background="@color/text_FF000000"
tools:context=".ui.powerstation.HouseSearchActivity">
<!--鎼滅储-->
<RelativeLayout
@@ -23,23 +23,24 @@
<ImageView
android:id="@+id/power_station_back_iv"
- android:layout_width="@dimen/dp_10"
- android:layout_height="@dimen/dp_17"
+ android:layout_width="@dimen/dp_30"
+ android:layout_height="@dimen/dp_30"
android:layout_alignParentStart="true"
android:layout_centerVertical="true"
- android:layout_marginStart="@dimen/dp_16"
- android:src="@drawable/search_back" />
+ android:layout_marginStart="@dimen/dp_10"
+ android:src="@drawable/back" />
</RelativeLayout>
<RelativeLayout
+ android:id="@+id/search_et_bj"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginStart="@dimen/dp_7"
- android:layout_marginEnd="@dimen/dp_21"
+ android:layout_marginEnd="@dimen/dp_11"
android:layout_toStartOf="@+id/power_station_search_tv"
android:layout_toEndOf="@+id/back_rl"
- android:background="@drawable/search_bj_ff05000000">
+ android:background="@drawable/search_bj_ff1c1c1e">
<ImageView
android:id="@+id/power_station_search_iv"
@@ -62,8 +63,8 @@
android:background="@null"
android:gravity="start|center_vertical"
android:hint="@string/search_station"
- android:textColor="@color/text_E6000000"
- android:textColorHint="@color/text_66000000"
+ android:textColor="@color/text_FFACACAC"
+ android:textColorHint="@color/text_FF5B5B5B"
android:textSize="@dimen/text_14" />
<ImageView
@@ -76,17 +77,23 @@
android:src="@drawable/clear" />
</RelativeLayout>
- <TextView
+ <LinearLayout
android:id="@+id/power_station_search_tv"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentEnd="true"
- android:layout_centerVertical="true"
- android:layout_marginEnd="@dimen/dp_21"
- android:gravity="center"
- android:text="@string/search"
- android:textColor="@color/text_E6000000"
- android:textSize="@dimen/text_16" />
+ android:layout_centerVertical="true">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_marginStart="@dimen/dp_10"
+ android:layout_marginEnd="@dimen/dp_21"
+ android:gravity="center"
+ android:text="@string/search"
+ android:textColor="@color/text_FFACACAC"
+ android:textSize="@dimen/text_14" />
+ </LinearLayout>
</RelativeLayout>
@@ -108,9 +115,8 @@
android:layout_marginTop="@dimen/dp_23"
android:layout_marginEnd="@dimen/dp_21"
android:text="@string/history_search"
- android:textColor="@color/text_E6000000"
+ android:textColor="@color/text_FF5B5B5B"
android:textSize="@dimen/text_16"
- android:textStyle="bold"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
@@ -147,7 +153,7 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/power_station_search_cl">
- <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
+ <com.hdl.photovoltaic.widget.refreshlayout.BGARefreshLayout
android:id="@+id/list_srl"
android:layout_width="match_parent"
android:layout_height="0dp"
@@ -159,9 +165,23 @@
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/list_rcv"
android:layout_width="match_parent"
- android:layout_height="match_parent" />
- </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
+ android:layout_height="match_parent"
+ android:clipToPadding="false"
+ android:paddingTop="@dimen/dp_10"
+ />
+ </com.hdl.photovoltaic.widget.refreshlayout.BGARefreshLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
+ <!--娌℃湁鏁版嵁鏄剧ず鏍峰紡-->
+ <include
+ android:id="@+id/device_null_data_ic"
+ layout="@layout/null_data_view"
+ android:layout_width="match_parent"
+ android:layout_height="224dp"
+ android:visibility="gone"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/power_station_search_cl" />
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
--
Gitblit v1.8.0