| | |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent"> |
| | | |
| | | <include |
| | | android:id="@+id/toolbar_top_fragment_house_list_rl" |
| | | layout="@layout/toolbar_top_view_52" /> |
| | | |
| | | <RelativeLayout |
| | | android:id="@+id/fragment_house_list_head_rl" |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:id="@+id/power_station_label_top_cl" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/dp_64" |
| | | android:background="@color/text_F9FAFB" |
| | | android:visibility="gone" |
| | | android:layout_height="@dimen/dp_200" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/toolbar_top_fragment_house_list_rl"> |
| | | app:layout_constraintTop_toTopOf="parent"> |
| | | |
| | | <LinearLayout |
| | | android:id="@+id/fragment_house_list_content_ll" |
| | | <RelativeLayout |
| | | android:id="@+id/title_cl" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:layout_marginStart="@dimen/dp_20" |
| | | android:layout_marginEnd="@dimen/dp_20" |
| | | android:orientation="horizontal"> |
| | | android:layout_height="@dimen/dp_31" |
| | | 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"> |
| | | |
| | | <TextView |
| | | android:id="@+id/power_station_label" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="match_parent" |
| | | android:layout_centerVertical="true" |
| | | 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_toStartOf="@+id/edit_iv" |
| | | android:layout_toEndOf="@+id/power_station_label" |
| | | android:gravity="" |
| | | 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"> |
| | | |
| | | <ImageView |
| | | android:id="@+id/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/search_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="@dimen/dp_17" |
| | | 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: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" /> |
| | | |
| | | |
| | | </RelativeLayout> |
| | | <!--条件筛选--> |
| | | <LinearLayout |
| | | android:id="@+id/screening_condition_ll" |
| | | 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" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/search_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"> |
| | | |
| | | <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" |
| | | 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" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/screening_condition_ll"> |
| | | |
| | | <RelativeLayout |
| | | android:id="@+id/fragment_house_list_content_title1_rl" |
| | |
| | | |
| | | </LinearLayout> |
| | | |
| | | </RelativeLayout> |
| | | |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | |
| | | |
| | | <androidx.swiperefreshlayout.widget.SwipeRefreshLayout |
| | | android:id="@+id/fragment_house_srl" |
| | |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/fragment_house_list_head_rl"> |
| | | app:layout_constraintTop_toBottomOf="@+id/power_station_label_top_cl"> |
| | | |
| | | <androidx.recyclerview.widget.RecyclerView |
| | | android:id="@+id/fragment_house_srl_list_rc" |
| | |
| | | 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" |
| | | android:visibility="gone" |
| | | /> |
| | | app:layout_constraintTop_toTopOf="parent" /> |
| | | |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | |