| | |
| | | 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_width="match_parent" |
| | | android:layout_height="205dp" |
| | | android:layout_marginTop="@dimen/dp_44" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toTopOf="parent"> |
| | | |
| | | <!--头部标签--> |
| | | <RelativeLayout |
| | | |
| | | android:id="@+id/title_cl" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/dp_31" |
| | | android:layout_marginStart="@dimen/dp_16" |
| | | android:layout_marginTop="@dimen/dp_44" |
| | | android:layout_marginEnd="@dimen/dp_16" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | |
| | | |
| | | |
| | | </RelativeLayout> |
| | | <!--搜索--> |
| | | <RelativeLayout |
| | | android:id="@+id/search_cl" |
| | | <!--电站标签--> |
| | | <LinearLayout |
| | | android:id="@+id/power_station_label_parent" |
| | | 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" |
| | | |
| | | 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="174dp" |
| | | android:layout_marginTop="@dimen/dp_21"> |
| | | <!--搜索--> |
| | | <RelativeLayout |
| | | android:id="@+id/power_station_search_cl" |
| | | android:layout_width="match_parent" |
| | | 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:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:layout_marginEnd="@dimen/dp_17" |
| | | android:layout_toStartOf="@+id/default_condition_iv" |
| | | android:layout_toStartOf="@+id/power_station_default_condition_iv" |
| | | android:background="@drawable/search_bj_edeff2"> |
| | | |
| | | <ImageView |
| | | android:id="@+id/search_iv" |
| | | android:id="@+id/power_station_search_iv" |
| | | android:layout_width="@dimen/dp_18" |
| | | android:layout_height="@dimen/dp_18" |
| | | android:layout_alignParentStart="true" |
| | |
| | | android:src="@drawable/search_path" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/search_tv" |
| | | android:id="@+id/power_station_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:layout_toEndOf="@+id/power_station_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:id="@+id/power_station_default_condition_iv" |
| | | android:layout_width="@dimen/dp_31" |
| | | android:layout_height="@dimen/dp_31" |
| | | android:layout_alignParentEnd="true" |
| | |
| | | android:orientation="horizontal" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/search_cl"> |
| | | app:layout_constraintTop_toBottomOf="@+id/power_station_search_cl"> |
| | | |
| | | <LinearLayout |
| | | android:id="@+id/screening_condition_1" |
| | |
| | | android:layout_width="@dimen/dp_18" |
| | | android:layout_height="@dimen/dp_18" |
| | | android:layout_toEndOf="@+id/station_name_tv" |
| | | android:src="@drawable/ascending_sort" /> |
| | | android:background="@drawable/ascending_descending_order_select" /> |
| | | </RelativeLayout> |
| | | |
| | | |
| | |
| | | |
| | | <ImageView |
| | | android:id="@+id/station_power_iv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="15dp" |
| | | android:layout_marginStart="-8dp" |
| | | android:layout_width="@dimen/dp_18" |
| | | android:layout_height="@dimen/dp_18" |
| | | android:layout_toEndOf="@+id/station_power_tv" |
| | | android:src="@drawable/ascending_sort" /> |
| | | android:background="@drawable/ascending_descending_order_select" /> |
| | | </RelativeLayout> |
| | | |
| | | |
| | |
| | | android:layout_width="@dimen/dp_18" |
| | | android:layout_height="@dimen/dp_18" |
| | | android:layout_toEndOf="@+id/station_day_tv" |
| | | android:src="@drawable/ascending_sort" /> |
| | | android:background="@drawable/ascending_descending_order_select" /> |
| | | </RelativeLayout> |
| | | |
| | | |
| | |
| | | android:layout_width="@dimen/dp_18" |
| | | android:layout_height="@dimen/dp_18" |
| | | android:layout_toEndOf="@+id/station_month_tv" |
| | | android:src="@drawable/ascending_sort" /> |
| | | android:background="@drawable/ascending_descending_order_select" /> |
| | | </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" |
| | | android:layout_height="match_parent" |
| | | 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:paddingBottom="@dimen/dp_16" /> |
| | | </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> |
| | | |
| | | |
| | | </LinearLayout> |
| | | |
| | | <!--设备标签--> |
| | | <LinearLayout |
| | | 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_21"> |
| | | <!--搜索--> |
| | | <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_edeff2" |
| | | 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" |
| | | android:layout_centerVertical="true" |
| | | android:layout_marginStart="@dimen/dp_13" |
| | | android:src="@drawable/search_path" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/device_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/device_search_iv" |
| | | android:text="Search the power station" |
| | | android:textColor="@color/text_40000000" |
| | | android:textSize="@dimen/text_14" /> |
| | | </RelativeLayout> |
| | | |
| | | |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | |
| | | <androidx.swiperefreshlayout.widget.SwipeRefreshLayout |
| | | android:id="@+id/fragment_device_srl" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | 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_device_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> |
| | | |
| | | |
| | | </LinearLayout> |
| | | |
| | | <!--没有数据显示样式--> |
| | | <include |
| | | android:id="@+id/null_data_ic" |