| | |
| | | |
| | | </RelativeLayout> |
| | | <!--电站标签--> |
| | | <LinearLayout |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:id="@+id/power_station_label_parent" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="0dp" |
| | |
| | | android:id="@+id/power_station_label_top_cl" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="@dimen/dp_13"> |
| | | 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/power_station_search_cl" |
| | |
| | | |
| | | </LinearLayout> |
| | | |
| | | |
| | | <!--升序降序功能--> |
| | | <LinearLayout |
| | | android:id="@+id/ascending_order_descending_order_parent_ll" |
| | | android:layout_width="match_parent" |
| | | android:layout_width="0dp" |
| | | 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" |
| | |
| | | android:id="@+id/station_name_rl" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="match_parent" |
| | | android:gravity="start" |
| | | android:orientation="horizontal"> |
| | | |
| | | <TextView |
| | |
| | | android:layout_toEndOf="@+id/station_name_tv" |
| | | android:background="@drawable/ascending_descending_order_select" /> |
| | | |
| | | <View |
| | | android:layout_width="@dimen/dp_16" |
| | | android:layout_height="match_parent" |
| | | android:layout_toEndOf="@+id/station_name_iv" /> |
| | | |
| | | </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:layout_toEndOf="@+id/station_power_tv" |
| | | android:background="@drawable/ascending_descending_order_select" /> |
| | | |
| | | <View |
| | | android:layout_width="@dimen/dp_16" |
| | | android:layout_height="match_parent" |
| | | android:layout_toEndOf="@+id/station_power_iv" /> |
| | | </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:layout_toEndOf="@+id/station_day_tv" |
| | | android:background="@drawable/ascending_descending_order_select" /> |
| | | |
| | | <View |
| | | android:layout_width="@dimen/dp_16" |
| | | android:layout_height="match_parent" |
| | | android:layout_toEndOf="@+id/station_day_iv" /> |
| | | |
| | | </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: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="match_parent" |
| | | android:layout_height="0dp" |
| | | android:layout_marginTop="@dimen/dp_21" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" /> |
| | | </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> |
| | | <!--没有数据显示样式--> |
| | | <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" /> |
| | | |
| | | |
| | | </LinearLayout> |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | |
| | | <!--设备标签--> |
| | | <LinearLayout |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:id="@+id/device_label_parent" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="0dp" |
| | |
| | | android:id="@+id/device_label_top_cl" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="40dp" |
| | | android:layout_marginTop="@dimen/dp_13"> |
| | | 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" |
| | |
| | | <androidx.swiperefreshlayout.widget.SwipeRefreshLayout |
| | | android:id="@+id/fragment_device_srl" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="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"> |
| | | app:layout_constraintTop_toBottomOf="@+id/device_label_top_cl"> |
| | | |
| | | <androidx.recyclerview.widget.RecyclerView |
| | | android:id="@+id/fragment_device_srl_list_rc" |
| | |
| | | android:paddingBottom="@dimen/dp_16" /> |
| | | </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> |
| | | |
| | | <!--没有数据显示样式--> |
| | | <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/device_label_top_cl" |
| | | |
| | | </LinearLayout> |
| | | /> |
| | | |
| | | <!--没有数据显示样式--> |
| | | <include |
| | | android:id="@+id/home_null_data_ic" |
| | | layout="@layout/null_data_view" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="224dp" |
| | | android:layout_marginBottom="@dimen/dp_202" |
| | | android:visibility="gone" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" /> |
| | | |
| | | <!--没有数据显示样式--> |
| | | <include |
| | | android:id="@+id/device_null_data_ic" |
| | | layout="@layout/null_data_view" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="224dp" |
| | | android:layout_marginBottom="229dp" |
| | | android:visibility="gone" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" /> |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | |
| | | |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |