From cf761dbce02ea1da7682265853354ca74dc2c31f Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期二, 26 八月 2025 17:30:42 +0800
Subject: [PATCH] 2025年08月26日17:30:41
---
app/src/main/res/layout/fragment_house_list.xml | 871 ++++++++++++++++++++++++++++++++-------------------------
1 files changed, 490 insertions(+), 381 deletions(-)
diff --git a/app/src/main/res/layout/fragment_house_list.xml b/app/src/main/res/layout/fragment_house_list.xml
index b3850b2..0bdc995 100644
--- a/app/src/main/res/layout/fragment_house_list.xml
+++ b/app/src/main/res/layout/fragment_house_list.xml
@@ -4,96 +4,482 @@
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/house_list_parent"
android:layout_width="match_parent"
- android:layout_height="match_parent">
-
- <androidx.constraintlayout.widget.ConstraintLayout
- android:id="@+id/power_station_label_top_cl"
+ android:layout_height="match_parent"
+ android:background="@color/text_FF000000">
+ <!--澶撮儴鏍囩-->
+ <RelativeLayout
+ android:id="@+id/title_cl"
android:layout_width="match_parent"
- android:layout_height="205dp"
- android:layout_marginTop="@dimen/dp_44"
+ android:layout_height="@dimen/dp_44"
+ android:layout_marginStart="@dimen/dp_16"
+ android:layout_marginTop="@dimen/dp_38"
+ android:layout_marginEnd="@dimen/dp_16"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
- <RelativeLayout
+ <TextView
+ android:id="@+id/power_station_label"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_centerVertical="true"
+ android:gravity="center"
+ android:text="@string/power_station"
+ android:textColor="@color/text_FFACACAC"
+ android:textSize="@dimen/text_18" />
- android:id="@+id/title_cl"
- android:layout_width="match_parent"
+ <TextView
+ android:id="@+id/device_label"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_centerVertical="true"
+ android:layout_marginStart="17dp"
+ android:layout_toEndOf="@+id/power_station_label"
+ android:gravity="center"
+ android:text="@string/device"
+ android:textColor="@color/text_FF5B5B5B"
+ android:textSize="@dimen/text_14"
+
+ />
+
+
+ <ImageView
+ android:id="@+id/add_iv"
+ android:layout_width="@dimen/dp_31"
android:layout_height="@dimen/dp_31"
- android:layout_marginStart="@dimen/dp_16"
- android:layout_marginEnd="@dimen/dp_16"
+ android:layout_alignParentEnd="true"
+ android:layout_centerVertical="true"
+ android:src="@drawable/add" />
+
+
+ </RelativeLayout>
+ <!--鐢电珯鏍囩-->
+ <androidx.constraintlayout.widget.ConstraintLayout
+ android:id="@+id/power_station_label_parent"
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:orientation="vertical"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/title_cl">
+
+ <androidx.constraintlayout.widget.ConstraintLayout
+ android:id="@+id/power_station_label_top_cl"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/dp_13"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
-
- <TextView
- android:id="@+id/power_station_label"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_centerVertical="true"
- android:gravity="center_vertical"
- android:text="Power Station"
- android:textColor="@color/text_90000000"
- android:textSize="@dimen/text_20"
- android:textStyle="bold" />
-
- <TextView
- android:id="@+id/device_label"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_centerVertical="true"
- android:layout_marginStart="@dimen/dp_21"
- android:layout_marginEnd="@dimen/dp_4"
- android:layout_toStartOf="@+id/edit_iv"
- android:layout_toEndOf="@+id/power_station_label"
- android:gravity="start|center_vertical"
- android:text="Equipment"
- android:textColor="@color/text_40000000"
- android:textSize="@dimen/text_16"
-
- />
-
- <ImageView
- android:id="@+id/edit_iv"
- android:layout_width="@dimen/dp_31"
- android:layout_height="@dimen/dp_31"
- android:layout_marginEnd="@dimen/dp_13"
- android:layout_toStartOf="@+id/add_iv"
- android:src="@drawable/edit"
-
- />
-
- <ImageView
- android:id="@+id/add_iv"
- android:layout_width="@dimen/dp_31"
- android:layout_height="@dimen/dp_31"
- android:layout_alignParentEnd="true"
- android:src="@drawable/add" />
-
-
- </RelativeLayout>
- <!--鎼滅储-->
- <RelativeLayout
- android:id="@+id/search_cl"
- android:layout_width="match_parent"
- android:layout_height="@dimen/dp_35"
- android:layout_marginStart="@dimen/dp_16"
- android:layout_marginTop="@dimen/dp_16"
- android:layout_marginEnd="@dimen/dp_16"
-
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/title_cl">
-
+ <!--鎼滅储-->
<RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginEnd="@dimen/dp_17"
- android:layout_toStartOf="@+id/default_condition_iv"
- android:background="@drawable/search_bj_edeff2">
+ android:id="@+id/power_station_search_cl"
+ android:layout_width="0dp"
+ android:layout_height="@dimen/dp_35"
+ android:layout_marginStart="@dimen/dp_16"
+ android:layout_marginEnd="@dimen/dp_16"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent">
+
+ <RelativeLayout
+ android:id="@+id/power_station_search_click_cl"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_marginEnd="@dimen/dp_17"
+ android:layout_toStartOf="@+id/power_station_default_condition_iv"
+ android:background="@drawable/search_bj_ff1c1c1e">
+
+ <ImageView
+
+ android:id="@+id/power_station_search_iv"
+ android:layout_width="@dimen/dp_18"
+ android:layout_height="@dimen/dp_18"
+ android:layout_alignParentStart="true"
+ android:layout_centerVertical="true"
+ android:layout_marginStart="@dimen/dp_13"
+ android:src="@drawable/search_path" />
+
+ <TextView
+ android:id="@+id/power_station_search_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_marginStart="@dimen/dp_11"
+ android:layout_toEndOf="@+id/power_station_search_iv"
+ android:text="@string/search_station"
+ android:textColor="@color/text_FF5B5B5B"
+ android:textSize="@dimen/text_14" />
+ </RelativeLayout>
<ImageView
- android:id="@+id/search_iv"
+ android:id="@+id/power_station_default_condition_iv"
+ android:layout_width="@dimen/dp_31"
+ android:layout_height="@dimen/dp_31"
+ android:layout_alignParentEnd="true"
+ android:layout_centerVertical="true"
+ android:src="@drawable/condition_screening" />
+
+
+ </RelativeLayout>
+
+ <!--鏉′欢绛涢�� 鍏ㄩ儴锛屾晠闅滐紝绂荤嚎锛屽緟鎺ュ叆-->
+ <LinearLayout
+ android:id="@+id/screening_condition_ll"
+ android:layout_width="0dp"
+ android:layout_height="@dimen/dp_56"
+ android:layout_marginStart="@dimen/dp_16"
+ android:layout_marginTop="@dimen/dp_20"
+ android:layout_marginEnd="@dimen/dp_16"
+ android:orientation="horizontal"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/power_station_search_cl">
+ <!--鍏ㄩ儴-->
+ <LinearLayout
+ android:id="@+id/all_ll"
+ android:layout_width="@dimen/dp_74"
+ android:layout_height="match_parent"
+ android:background="@drawable/station_status_no_ffffff"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/all_total_tv"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="8.5dp"
+ android:gravity="center"
+ android:paddingStart="@dimen/dp_2"
+ android:paddingEnd="@dimen/dp_2"
+ android:text="0"
+ android:textColor="@color/text_FFACACAC"
+ android:textSize="@dimen/text_16" />
+
+ <TextView
+ android:id="@+id/all_des_tv"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:paddingStart="@dimen/dp_2"
+ android:paddingEnd="@dimen/dp_2"
+ android:text="@string/message_all"
+ android:textColor="@color/text_FF5B5B5B"
+ android:textSize="@dimen/text_12" />
+ </LinearLayout>
+
+ <View
+ android:id="@+id/v1"
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="1" />
+ <!--鏁呴殰-->
+ <LinearLayout
+ android:id="@+id/faults_ll"
+ android:layout_width="@dimen/dp_74"
+ android:layout_height="match_parent"
+ android:background="@drawable/station_status_no_ffffff"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/faults_total_tv"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="8.5dp"
+ android:gravity="center"
+ android:paddingStart="@dimen/dp_2"
+ android:paddingEnd="@dimen/dp_2"
+ android:text="0"
+ android:textColor="@color/text_FFACACAC"
+ android:textSize="@dimen/text_16" />
+
+ <TextView
+ android:id="@+id/faults_des_tv"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:paddingStart="@dimen/dp_2"
+ android:paddingEnd="@dimen/dp_2"
+ android:text="@string/my_power_station_malfunction"
+ android:textColor="@color/text_FF5B5B5B"
+ android:textSize="@dimen/text_12" />
+ </LinearLayout>
+
+ <View
+ android:id="@+id/v2"
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="1" />
+ <!--绂荤嚎-->
+ <LinearLayout
+ android:id="@+id/offline_ll"
+ android:layout_width="@dimen/dp_74"
+ android:layout_height="match_parent"
+ android:background="@drawable/station_status_no_ffffff"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/offline_total_tv"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="8.5dp"
+ android:gravity="center"
+ android:paddingStart="@dimen/dp_2"
+ android:paddingEnd="@dimen/dp_2"
+ android:text="0"
+ android:textColor="@color/text_FFACACAC"
+ android:textSize="@dimen/text_16" />
+
+ <TextView
+ android:id="@+id/offline_des_tv"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:paddingStart="@dimen/dp_2"
+ android:paddingEnd="@dimen/dp_2"
+ android:text="@string/my_power_station_off_line"
+ android:textColor="@color/text_FF5B5B5B"
+ android:textSize="@dimen/text_12" />
+ </LinearLayout>
+
+ <View
+ android:id="@+id/v3"
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="1" />
+ <!--寰呮帴鍏�-->
+ <LinearLayout
+ android:id="@+id/connected_ll"
+ android:layout_width="@dimen/dp_74"
+ android:layout_height="match_parent"
+ android:background="@drawable/station_status_no_ffffff"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/connected_total_tv"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="8.5dp"
+ android:gravity="center"
+ android:paddingStart="@dimen/dp_2"
+ android:paddingEnd="@dimen/dp_2"
+ android:text="0"
+ android:textColor="@color/text_FFACACAC"
+ android:textSize="@dimen/text_16" />
+
+ <TextView
+ android:id="@+id/connected_des_tv"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:paddingStart="@dimen/dp_2"
+ android:paddingEnd="@dimen/dp_2"
+ android:text="@string/to_be_added"
+ android:textColor="@color/text_FF5B5B5B"
+ android:textSize="@dimen/text_12" />
+ </LinearLayout>
+
+ </LinearLayout>
+
+ <!--鍗囧簭闄嶅簭鍔熻兘-->
+ <LinearLayout
+ android:id="@+id/ascending_order_descending_order_parent_ll"
+ android:layout_width="0dp"
+ android:layout_height="@dimen/dp_20"
+ android:layout_marginStart="@dimen/dp_16"
+ android:layout_marginTop="@dimen/dp_19"
+ android:layout_marginEnd="@dimen/dp_16"
+ android:orientation="horizontal"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/screening_condition_ll">
+
+ <RelativeLayout
+ android:id="@+id/station_name_rl"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:gravity="start"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/station_name_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:text="@string/pv"
+ android:textColor="@color/text_FFACACAC"
+ android:textSize="@dimen/text_14"
+
+ />
+
+ <ImageView
+ android:id="@+id/station_name_iv"
+ android:layout_width="@dimen/dp_18"
+ android:layout_height="@dimen/dp_18"
+ android:layout_centerVertical="true"
+ android:layout_toEndOf="@+id/station_name_tv"
+ android:background="@drawable/ascending_descending_order_select" />
+
+
+ </RelativeLayout>
+
+ <View
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="1" />
+
+ <RelativeLayout
+ android:id="@+id/station_power_rl"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_gravity="center_horizontal"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/station_power_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:text="@string/output"
+ android:textColor="@color/text_FFACACAC"
+ android:textSize="@dimen/text_14" />
+
+ <ImageView
+ android:id="@+id/station_power_iv"
+ android:layout_width="@dimen/dp_18"
+ android:layout_height="@dimen/dp_18"
+ android:layout_toEndOf="@+id/station_power_tv"
+ android:background="@drawable/ascending_descending_order_select" />
+
+ </RelativeLayout>
+
+ <View
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="1" />
+
+ <RelativeLayout
+ android:id="@+id/station_month_rl"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:gravity="end"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/station_month_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:text="@string/battery_capacity_indicator"
+ android:textColor="@color/text_FFACACAC"
+ android:textSize="@dimen/text_14" />
+
+ <ImageView
+ android:id="@+id/station_month_iv"
+ android:layout_width="@dimen/dp_18"
+ android:layout_height="@dimen/dp_18"
+ android:layout_toEndOf="@+id/station_month_tv"
+ android:background="@drawable/ascending_descending_order_select" />
+ </RelativeLayout>
+
+ <View
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="1" />
+
+ <RelativeLayout
+ android:id="@+id/station_day_rl"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_gravity="center_horizontal"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/station_day_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:text="@string/day_generation"
+ android:textColor="@color/text_FFACACAC"
+ android:textSize="@dimen/text_14" />
+
+ <ImageView
+ android:id="@+id/station_day_iv"
+ android:layout_width="@dimen/dp_18"
+ android:layout_height="@dimen/dp_18"
+ android:layout_toEndOf="@+id/station_day_tv"
+ android:background="@drawable/ascending_descending_order_select" />
+
+
+ </RelativeLayout>
+
+
+ </LinearLayout>
+
+ </androidx.constraintlayout.widget.ConstraintLayout>
+
+ <com.hdl.photovoltaic.widget.refreshlayout.BGARefreshLayout
+ android:id="@+id/fragment_house_srl"
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_marginTop="10dp"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/power_station_label_top_cl">
+
+ <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_10" />
+ </com.hdl.photovoltaic.widget.refreshlayout.BGARefreshLayout>
+ <!--娌℃湁鏁版嵁鏄剧ず鏍峰紡-->
+ <include
+ android:id="@+id/home_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_label_top_cl" />
+
+
+ </androidx.constraintlayout.widget.ConstraintLayout>
+
+ <!--璁惧鏍囩-->
+ <androidx.constraintlayout.widget.ConstraintLayout
+ android:id="@+id/device_label_parent"
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:orientation="vertical"
+ android:visibility="gone"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/title_cl">
+
+ <androidx.constraintlayout.widget.ConstraintLayout
+ android:id="@+id/device_label_top_cl"
+ android:layout_width="match_parent"
+ android:layout_height="40dp"
+ android:layout_marginTop="@dimen/dp_13"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent">
+ <!--鎼滅储-->
+ <RelativeLayout
+ android:id="@+id/device_search_cl"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/dp_35"
+ android:layout_marginStart="@dimen/dp_13"
+ android:layout_marginEnd="@dimen/dp_16"
+ android:background="@drawable/search_bj_ff1c1c1e"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent">
+
+ <ImageView
+ android:id="@+id/device_search_iv"
android:layout_width="@dimen/dp_18"
android:layout_height="@dimen/dp_18"
android:layout_alignParentStart="true"
@@ -102,330 +488,53 @@
android:src="@drawable/search_path" />
<TextView
- android:id="@+id/search_tv"
+ android:id="@+id/device_search_tv"
android:layout_width="wrap_content"
- android:layout_height="@dimen/dp_17"
+ android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginStart="@dimen/dp_11"
- android:layout_toEndOf="@+id/search_iv"
- android:text="Search the power station"
- android:textColor="@color/text_40000000"
+ android:layout_toEndOf="@+id/device_search_iv"
+ android:text="@string/enter_the_device_sn_and_device_name"
+ android:textColor="@color/text_FF5B5B5B"
android:textSize="@dimen/text_14" />
</RelativeLayout>
- <ImageView
- android:id="@+id/default_condition_iv"
- android:layout_width="@dimen/dp_31"
- android:layout_height="@dimen/dp_31"
- android:layout_alignParentEnd="true"
- android:layout_centerVertical="true"
- android:src="@drawable/default_condition" />
+ </androidx.constraintlayout.widget.ConstraintLayout>
- </RelativeLayout>
- <!--鏉′欢绛涢��-->
- <LinearLayout
- android:id="@+id/screening_condition_ll"
+ <com.hdl.photovoltaic.widget.refreshlayout.BGARefreshLayout
+ android:id="@+id/fragment_device_srl"
android:layout_width="match_parent"
- android:layout_height="@dimen/dp_56"
- android:layout_marginStart="@dimen/dp_16"
- android:layout_marginTop="@dimen/dp_21"
- android:layout_marginEnd="@dimen/dp_16"
- android:orientation="horizontal"
+ android:layout_height="0dp"
+ app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/search_cl">
+ app:layout_constraintTop_toBottomOf="@+id/device_label_top_cl">
- <LinearLayout
- android:id="@+id/screening_condition_1"
- android:layout_width="@dimen/dp_74"
- android:layout_height="@dimen/dp_56"
- android:layout_gravity="center_vertical"
- android:background="@drawable/station_status_no_ffffff"
- android:orientation="vertical">
+ <androidx.recyclerview.widget.RecyclerView
+ android:id="@+id/fragment_device_srl_list_rc"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:clipToPadding="false"
+ android:paddingBottom="@dimen/dp_10" />
+ </com.hdl.photovoltaic.widget.refreshlayout.BGARefreshLayout>
- <TextView
- android:id="@+id/screening_condition_number1_tv"
- android:layout_width="match_parent"
- android:layout_height="@dimen/dp_25"
- android:layout_marginTop="7dp"
- android:gravity="center"
- android:text="99"
- android:textColor="@color/text_90000000"
- android:textSize="@dimen/text_21"
- android:textStyle="bold" />
-
- <TextView
- android:id="@+id/screening_condition_text1_tv"
- android:layout_width="match_parent"
- android:layout_height="@dimen/dp_17"
- android:layout_marginTop="1dp"
- android:gravity="center"
- android:text="state"
- android:textColor="@color/text_40000000"
- android:textSize="@dimen/text_14" />
-
- </LinearLayout>
-
- <View
- android:layout_width="@dimen/dp_16"
- android:layout_height="match_parent" />
-
- <LinearLayout
- android:id="@+id/screening_condition_2"
- android:layout_width="@dimen/dp_74"
- android:layout_height="@dimen/dp_56"
- android:layout_gravity="center_vertical"
- android:background="@drawable/station_status_no_ffffff"
- android:orientation="vertical">
-
- <TextView
- android:id="@+id/screening_condition_number2_tv"
- android:layout_width="match_parent"
- android:layout_height="@dimen/dp_25"
- android:layout_marginTop="7dp"
- android:gravity="center"
- android:text="99"
- android:textColor="@color/text_90000000"
- android:textSize="@dimen/text_21"
- android:textStyle="bold" />
-
- <TextView
- android:id="@+id/screening_condition_text2_tv"
- android:layout_width="match_parent"
- android:layout_height="@dimen/dp_17"
- android:layout_marginTop="1dp"
- android:gravity="center"
- android:text="state"
- android:textColor="@color/text_40000000"
- android:textSize="@dimen/text_14" />
-
- </LinearLayout>
-
- <View
- android:layout_width="@dimen/dp_16"
- android:layout_height="match_parent" />
-
- <LinearLayout
- android:id="@+id/screening_condition_3"
- android:layout_width="@dimen/dp_74"
- android:layout_height="@dimen/dp_56"
- android:layout_gravity="center_vertical"
- android:background="@drawable/station_status_no_ffffff"
- android:orientation="vertical">
-
- <TextView
- android:id="@+id/screening_condition_number3_tv"
- android:layout_width="match_parent"
- android:layout_height="@dimen/dp_25"
- android:layout_marginTop="7dp"
- android:gravity="center"
- android:text="99"
- android:textColor="@color/text_90000000"
- android:textSize="@dimen/text_21"
- android:textStyle="bold" />
-
- <TextView
- android:id="@+id/screening_condition_text3_tv"
- android:layout_width="match_parent"
- android:layout_height="@dimen/dp_17"
- android:layout_marginTop="1dp"
- android:gravity="center"
- android:text="state"
- android:textColor="@color/text_40000000"
- android:textSize="@dimen/text_14" />
-
- </LinearLayout>
-
- <View
- android:layout_width="@dimen/dp_16"
- android:layout_height="match_parent" />
-
- <LinearLayout
- android:id="@+id/screening_condition_4"
- android:layout_width="@dimen/dp_74"
- android:layout_height="@dimen/dp_56"
- android:layout_gravity="center_vertical"
- android:background="@drawable/station_status_no_ffffff"
- android:orientation="vertical">
-
- <TextView
- android:id="@+id/screening_condition_number4_tv"
- android:layout_width="match_parent"
- android:layout_height="@dimen/dp_25"
- android:layout_marginTop="7dp"
- android:gravity="center"
- android:text="99"
- android:textColor="@color/text_90000000"
- android:textSize="@dimen/text_21"
- android:textStyle="bold" />
-
- <TextView
- android:id="@+id/screening_condition_text4_tv"
- android:layout_width="match_parent"
- android:layout_height="@dimen/dp_17"
- android:layout_marginTop="1dp"
- android:gravity="center"
- android:text="state"
- android:textColor="@color/text_40000000"
- android:textSize="@dimen/text_14" />
-
- </LinearLayout>
-
- </LinearLayout>
- <!--鍗囧簭闄嶅簭鍔熻兘-->
- <LinearLayout
- android:id="@+id/ascending_order_descending_order_parent_ll"
+ <!--娌℃湁鏁版嵁鏄剧ず鏍峰紡-->
+ <include
+ android:id="@+id/device_null_data_ic"
+ layout="@layout/null_data_view"
android:layout_width="match_parent"
- android:layout_height="@dimen/dp_17"
- android:layout_marginStart="@dimen/dp_16"
- android:layout_marginTop="@dimen/dp_21"
- android:layout_marginEnd="@dimen/dp_12"
- android:orientation="horizontal"
+ 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/screening_condition_ll">
+ app:layout_constraintTop_toBottomOf="@+id/device_label_top_cl"
- <RelativeLayout
- android:id="@+id/station_name_rl"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:gravity="center"
- android:orientation="horizontal">
-
- <TextView
- android:id="@+id/station_name_tv"
- android:layout_width="wrap_content"
- android:layout_height="@dimen/dp_17"
- android:text="@string/station_name"
- android:textColor="@color/text_90000000"
- android:textSize="@dimen/text_12"
- android:textStyle="bold" />
-
- <ImageView
- android:id="@+id/station_name_iv"
- android:layout_width="@dimen/dp_18"
- android:layout_height="@dimen/dp_18"
- android:layout_toEndOf="@+id/station_name_tv"
- android:src="@drawable/ascending_sort" />
- </RelativeLayout>
-
-
- <RelativeLayout
- android:id="@+id/station_power_rl"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:gravity="center"
- android:orientation="horizontal">
-
- <TextView
- android:id="@+id/station_power_tv"
- android:layout_width="wrap_content"
- android:layout_height="@dimen/dp_17"
- android:text="@string/generated_power"
- android:textColor="@color/text_90000000"
- android:textSize="@dimen/text_12"
- android:textStyle="bold" />
-
- <ImageView
- android:id="@+id/station_power_iv"
- android:layout_width="wrap_content"
- android:layout_height="15dp"
- android:layout_marginStart="-8dp"
- android:layout_toEndOf="@+id/station_power_tv"
- android:src="@drawable/ascending_sort" />
- </RelativeLayout>
-
-
- <RelativeLayout
- android:id="@+id/station_day_rl"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:gravity="center"
- android:orientation="horizontal">
-
- <TextView
- android:id="@+id/station_day_tv"
- android:layout_width="wrap_content"
- android:layout_height="@dimen/dp_17"
- android:text="@string/day_power_generation"
- android:textColor="@color/text_90000000"
- android:textSize="@dimen/text_12"
- android:textStyle="bold" />
-
- <ImageView
- android:id="@+id/station_day_iv"
- android:layout_width="@dimen/dp_18"
- android:layout_height="@dimen/dp_18"
- android:layout_toEndOf="@+id/station_day_tv"
- android:src="@drawable/ascending_sort" />
- </RelativeLayout>
-
-
- <RelativeLayout
- android:id="@+id/station_month_rl"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:gravity="center"
- android:orientation="horizontal">
-
- <TextView
- android:id="@+id/station_month_tv"
- android:layout_width="wrap_content"
- android:layout_height="@dimen/dp_17"
- android:text="@string/month_power_generation"
- android:textColor="@color/text_90000000"
- android:textSize="@dimen/text_12"
- android:textStyle="bold" />
-
- <ImageView
- android:id="@+id/station_month_iv"
- android:layout_width="@dimen/dp_18"
- android:layout_height="@dimen/dp_18"
- android:layout_toEndOf="@+id/station_month_tv"
- android:src="@drawable/ascending_sort" />
- </RelativeLayout>
-
-
- </LinearLayout>
-
+ />
</androidx.constraintlayout.widget.ConstraintLayout>
-
- <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
- android:id="@+id/fragment_house_srl"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
-
- app:layout_constraintTop_toBottomOf="@+id/power_station_label_top_cl">
-
- <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" />
- </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
-
- <!--娌℃湁鏁版嵁鏄剧ず鏍峰紡-->
- <include
- android:id="@+id/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_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
--
Gitblit v1.8.0