| | |
| | | xmlns:tools="http://schemas.android.com/tools" |
| | | android:id="@+id/house_list_parent" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent"> |
| | | android:layout_height="match_parent" |
| | | android:background="@drawable/bj"> |
| | | <!--头部标签--> |
| | | <RelativeLayout |
| | | android:id="@+id/title_cl" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/dp_31" |
| | | android:layout_height="@dimen/dp_44" |
| | | android:layout_marginStart="@dimen/dp_16" |
| | | android:layout_marginTop="@dimen/dp_44" |
| | | android:layout_marginEnd="@dimen/dp_16" |
| | |
| | | android:layout_height="match_parent" |
| | | android:layout_centerVertical="true" |
| | | android:gravity="center_vertical" |
| | | android:text="Power Station" |
| | | android:text="@string/power_station" |
| | | android:textColor="@color/text_E6000000" |
| | | android:textSize="@dimen/text_20" |
| | | android:textStyle="bold" /> |
| | |
| | | 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_marginStart="17dp" |
| | | android:layout_marginEnd="-339dp" |
| | | android:layout_toEndOf="@+id/power_station_label" |
| | | android:gravity="start|center_vertical" |
| | | android:text="Equipment" |
| | | android:text="@string/device" |
| | | android:textColor="@color/text_66000000" |
| | | android:textSize="@dimen/text_16" |
| | | |
| | |
| | | android:layout_marginEnd="@dimen/dp_13" |
| | | android:layout_toStartOf="@+id/add_iv" |
| | | android:src="@drawable/edit" |
| | | |
| | | /> |
| | | android:visibility="gone" /> |
| | | |
| | | <ImageView |
| | | android:id="@+id/add_iv" |
| | | android:layout_width="@dimen/dp_31" |
| | | android:layout_height="@dimen/dp_31" |
| | | android:layout_alignParentEnd="true" |
| | | android:layout_centerVertical="true" |
| | | android:src="@drawable/add" /> |
| | | |
| | | |
| | |
| | | android:id="@+id/power_station_label_top_cl" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="174dp" |
| | | android:layout_marginTop="@dimen/dp_21"> |
| | | android:layout_marginTop="@dimen/dp_13"> |
| | | <!--搜索--> |
| | | <RelativeLayout |
| | | android:id="@+id/power_station_search_cl" |
| | |
| | | android:layout_centerVertical="true" |
| | | android:layout_marginStart="@dimen/dp_11" |
| | | android:layout_toEndOf="@+id/power_station_search_iv" |
| | | android:text="Search the power station" |
| | | android:text="@string/search_station" |
| | | android:textColor="@color/text_66000000" |
| | | android:textSize="@dimen/text_14" /> |
| | | </RelativeLayout> |
| | |
| | | layout="@layout/item_station" /> |
| | | |
| | | <include |
| | | android:id="@+id/hpower_station_offline_il" |
| | | android:id="@+id/power_station_offline_il" |
| | | layout="@layout/item_station" /> |
| | | |
| | | <include |
| | |
| | | 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" |
| | |
| | | |
| | | <RelativeLayout |
| | | android:id="@+id/station_name_rl" |
| | | android:layout_width="0dp" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="match_parent" |
| | | android:layout_weight="1" |
| | | android:gravity="center" |
| | | android:orientation="horizontal"> |
| | | |
| | | <TextView |
| | |
| | | android:text="@string/station_name" |
| | | android:textColor="@color/text_E6000000" |
| | | android:textSize="@dimen/text_12" |
| | | android:textStyle="bold" /> |
| | | |
| | | /> |
| | | |
| | | <ImageView |
| | | android:id="@+id/station_name_iv" |
| | |
| | | android:layout_height="@dimen/dp_18" |
| | | 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> |
| | | |
| | | |
| | | <RelativeLayout |
| | | android:id="@+id/station_power_rl" |
| | | android:layout_width="0dp" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="match_parent" |
| | | android:layout_weight="1" |
| | | android:gravity="center" |
| | | android:orientation="horizontal"> |
| | | |
| | | <TextView |
| | |
| | | android:layout_height="@dimen/dp_17" |
| | | android:text="@string/generated_power" |
| | | android:textColor="@color/text_E6000000" |
| | | android:textSize="@dimen/text_12" |
| | | android:textStyle="bold" /> |
| | | android:textSize="@dimen/text_12" /> |
| | | |
| | | <ImageView |
| | | android:id="@+id/station_power_iv" |
| | |
| | | android:layout_height="@dimen/dp_18" |
| | | 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> |
| | | |
| | | |
| | | <RelativeLayout |
| | | android:id="@+id/station_day_rl" |
| | | android:layout_width="0dp" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="match_parent" |
| | | android:layout_weight="1" |
| | | android:gravity="center" |
| | | android:orientation="horizontal"> |
| | | |
| | | <TextView |
| | |
| | | android:layout_height="@dimen/dp_17" |
| | | android:text="@string/day_power_generation" |
| | | android:textColor="@color/text_E6000000" |
| | | android:textSize="@dimen/text_12" |
| | | android:textStyle="bold" /> |
| | | android:textSize="@dimen/text_12" /> |
| | | |
| | | <ImageView |
| | | android:id="@+id/station_day_iv" |
| | |
| | | android:layout_height="@dimen/dp_18" |
| | | 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> |
| | | |
| | | |
| | | <RelativeLayout |
| | | android:id="@+id/station_month_rl" |
| | | android:layout_width="0dp" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="match_parent" |
| | | android:layout_weight="1" |
| | | android:gravity="center" |
| | | android:orientation="horizontal"> |
| | | |
| | | <TextView |
| | |
| | | android:layout_height="@dimen/dp_17" |
| | | android:text="@string/month_power_generation" |
| | | android:textColor="@color/text_E6000000" |
| | | android:textSize="@dimen/text_12" |
| | | android:textStyle="bold" /> |
| | | android:textSize="@dimen/text_12" /> |
| | | |
| | | <ImageView |
| | | android:id="@+id/station_month_iv" |
| | |
| | | android:id="@+id/device_label_top_cl" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="40dp" |
| | | android:layout_marginTop="@dimen/dp_21"> |
| | | android:layout_marginTop="@dimen/dp_13"> |
| | | <!--搜索--> |
| | | <RelativeLayout |
| | | android:id="@+id/device_search_cl" |
| | |
| | | android:layout_centerVertical="true" |
| | | android:layout_marginStart="@dimen/dp_11" |
| | | android:layout_toEndOf="@+id/device_search_iv" |
| | | android:text="Search the power station" |
| | | android:text="@string/enter_the_device_sn_and_device_name" |
| | | android:textColor="@color/text_66000000" |
| | | android:textSize="@dimen/text_14" /> |
| | | </RelativeLayout> |
| | |
| | | |
| | | <!--没有数据显示样式--> |
| | | <include |
| | | android:id="@+id/null_data_ic" |
| | | 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" |
| | | app:layout_constraintTop_toTopOf="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> |
| | | |