| | |
| | | xmlns:tools="http://schemas.android.com/tools" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:background="@drawable/bj" |
| | | android:background="@color/text_FF000000" |
| | | tools:context=".ui.home.HomePageFragment"> |
| | | |
| | | <TextView |
| | | android:id="@+id/home_page_title_tv" |
| | | style="@style/Text20Style" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="@dimen/dp_26" |
| | | <!--头部标签--> |
| | | <RelativeLayout |
| | | android:id="@+id/title_cl" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/dp_44" |
| | | android:layout_marginStart="@dimen/dp_16" |
| | | android:layout_marginTop="58dp" |
| | | android:text="@string/summarize" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toTopOf="parent" /> |
| | | |
| | | <ImageView |
| | | android:id="@+id/home_page_station_add_iv" |
| | | android:layout_width="@dimen/dp_31" |
| | | android:layout_height="@dimen/dp_31" |
| | | android:layout_marginTop="53dp" |
| | | android:layout_marginEnd="@dimen/dp_24" |
| | | android:src="@drawable/add" |
| | | android:layout_marginTop="@dimen/dp_38" |
| | | android:layout_marginEnd="@dimen/dp_16" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintTop_toTopOf="parent" /> |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toTopOf="parent"> |
| | | |
| | | <androidx.swiperefreshlayout.widget.SwipeRefreshLayout |
| | | android:id="@+id/srl" |
| | | |
| | | <TextView |
| | | android:id="@+id/home_page_title_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_centerVertical="true" |
| | | android:text="@string/power_home_page" |
| | | android:textColor="@color/text_FFACACAC" |
| | | android:textSize="@dimen/text_18" /> |
| | | |
| | | <ImageView |
| | | android:id="@+id/home_page_station_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" /> |
| | | </RelativeLayout> |
| | | |
| | | <com.hdl.photovoltaic.widget.refreshlayout.BGARefreshLayout |
| | | android:id="@+id/rsl" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="0dp" |
| | | android:layout_marginTop="@dimen/dp_26" |
| | | android:layout_marginTop="@dimen/dp_10" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/home_page_title_tv"> |
| | | app:layout_constraintTop_toBottomOf="@+id/title_cl"> |
| | | |
| | | <ScrollView |
| | | android:id="@+id/sl" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:layout_marginTop="@dimen/dp_26"> |
| | | android:layout_marginTop="@dimen/dp_10"> |
| | | |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content"> |
| | | android:layout_height="wrap_content" |
| | | android:paddingBottom="@dimen/dp_10" |
| | | |
| | | > |
| | | |
| | | <!--条件筛选--> |
| | | <LinearLayout |
| | | android:id="@+id/home_page_station_ll" |
| | | android:layout_width="0dp" |
| | | android:layout_height="@dimen/dp_56" |
| | | android:layout_height="@dimen/dp_66" |
| | | android:layout_marginStart="@dimen/dp_16" |
| | | android:layout_marginEnd="@dimen/dp_16" |
| | | android:background="@drawable/bj_ff1c1c1e" |
| | | android:orientation="horizontal" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toTopOf="parent"> |
| | | |
| | | <include |
| | | <!--全部--> |
| | | <LinearLayout |
| | | android:id="@+id/home_all_il" |
| | | layout="@layout/item_station" /> |
| | | android:layout_width="0dp" |
| | | android:layout_height="match_parent" |
| | | android:layout_weight="1" |
| | | android:gravity="center" |
| | | android:orientation="vertical"> |
| | | |
| | | <include |
| | | <TextView |
| | | android:id="@+id/station_all_total_tv" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="center" |
| | | android:text="0" |
| | | android:textColor="@color/text_FFACACAC" |
| | | android:textSize="@dimen/text_16" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/station_all_title_tv" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="center" |
| | | android:text="@string/message_all" |
| | | android:textColor="@color/text_FF5B5B5B" |
| | | android:textSize="@dimen/text_12" /> |
| | | </LinearLayout> |
| | | <!--故障--> |
| | | <LinearLayout |
| | | android:id="@+id/home_faults_il" |
| | | layout="@layout/item_station" /> |
| | | android:layout_width="0dp" |
| | | android:layout_height="match_parent" |
| | | android:layout_weight="1" |
| | | android:gravity="center" |
| | | android:orientation="vertical"> |
| | | |
| | | <include |
| | | <TextView |
| | | android:id="@+id/station_faults_total_tv" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="center" |
| | | android:text="0" |
| | | android:textColor="@color/text_FFACACAC" |
| | | android:textSize="@dimen/text_16" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/station_faults_title_tv" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="center" |
| | | android:text="@string/my_power_station_malfunction" |
| | | android:textColor="@color/text_FF5B5B5B" |
| | | android:textSize="@dimen/text_12" /> |
| | | </LinearLayout> |
| | | <!--离线--> |
| | | <LinearLayout |
| | | android:id="@+id/home_offline_il" |
| | | layout="@layout/item_station" /> |
| | | android:layout_width="0dp" |
| | | android:layout_height="match_parent" |
| | | android:layout_weight="1" |
| | | android:gravity="center" |
| | | android:orientation="vertical"> |
| | | |
| | | <include |
| | | <TextView |
| | | android:id="@+id/station_offline_total_tv" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="center" |
| | | android:text="0" |
| | | android:textColor="@color/text_FFACACAC" |
| | | android:textSize="@dimen/text_16" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/station_offline_title_tv" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="center" |
| | | android:text="@string/my_power_station_off_line" |
| | | android:textColor="@color/text_FF5B5B5B" |
| | | android:textSize="@dimen/text_12" /> |
| | | </LinearLayout> |
| | | <!--待接入--> |
| | | <LinearLayout |
| | | android:id="@+id/home_connected_il" |
| | | layout="@layout/item_station" /> |
| | | android:layout_width="0dp" |
| | | android:layout_height="match_parent" |
| | | android:layout_weight="1" |
| | | android:gravity="center" |
| | | android:orientation="vertical"> |
| | | |
| | | <TextView |
| | | android:id="@+id/station_connected_total_tv" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="center" |
| | | android:text="0" |
| | | android:textColor="@color/text_FFACACAC" |
| | | android:textSize="@dimen/text_16" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/station_connected_title_tv" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="center" |
| | | android:text="@string/to_be_added" |
| | | android:textColor="@color/text_FF5B5B5B" |
| | | android:textSize="@dimen/text_12" /> |
| | | </LinearLayout> |
| | | |
| | | |
| | | </LinearLayout> |
| | | <!--装机容量 发电功率数据显示--> |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | |
| | | |
| | | <LinearLayout |
| | | android:id="@+id/home_page_station_info_cl" |
| | | android:layout_width="0dp" |
| | | android:layout_height="312dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginStart="@dimen/dp_16" |
| | | android:layout_marginTop="@dimen/dp_10" |
| | | android:layout_marginEnd="@dimen/dp_16" |
| | | android:background="@drawable/bj_ff1c1c1e" |
| | | android:orientation="vertical" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/home_page_station_ll"> |
| | | |
| | | <RelativeLayout |
| | | android:id="@+id/home_page_station_info_rl1" |
| | | android:layout_width="0dp" |
| | | android:layout_height="146dp" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toTopOf="parent"> |
| | | <!--装机容量 发电功率数据显示--> |
| | | <LinearLayout |
| | | android:id="@+id/home_page_station_info_ll" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="129.5dp" |
| | | android:orientation="horizontal"> |
| | | |
| | | <RelativeLayout |
| | | android:id="@+id/home_page_station_info_rl1_f" |
| | | android:layout_width="102dp" |
| | | android:layout_height="102dp" |
| | | android:layout_marginTop="@dimen/dp_22" |
| | | android:background="@drawable/disc"> |
| | | |
| | | android:layout_width="@dimen/dp_0" |
| | | android:layout_height="match_parent" |
| | | android:layout_weight="1"> |
| | | <!--用富文本实现--> |
| | | <TextView |
| | | android:id="@+id/info_rl1_f_text1_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_centerInParent="true" |
| | | android:layout_marginStart="@dimen/dp_6" |
| | | android:gravity="end|center_vertical" |
| | | android:text="88" |
| | | android:textColor="@color/text_E6000000" |
| | | android:textSize="@dimen/text_26" |
| | | android:textStyle="bold" /> |
| | | |
| | | android:layout_marginStart="@dimen/dp_41" |
| | | android:layout_marginTop="@dimen/dp_32" |
| | | android:text="0" |
| | | android:textColor="@color/text_FFACACAC" |
| | | android:textSize="@dimen/text_26" /> |
| | | <!--先隐藏--> |
| | | <TextView |
| | | android:id="@+id/home_page_station_info_rl1_f_text2_tv" |
| | | android:layout_width="9dp" |
| | | android:layout_height="14.5dp" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_alignBottom="@+id/info_rl1_f_text1_tv" |
| | | android:layout_marginStart="2.5dp" |
| | | android:layout_marginBottom="4.5dp" |
| | | android:layout_marginStart="7dp" |
| | | android:layout_marginBottom="6.5dp" |
| | | android:layout_toEndOf="@+id/info_rl1_f_text1_tv" |
| | | android:text="%" |
| | | android:textColor="@color/text_191919" |
| | | android:textColor="@color/text_FF5B5B5B" |
| | | android:textSize="@dimen/text_12" |
| | | android:visibility="visible" /> |
| | | |
| | | <ProgressBar |
| | | android:id="@+id/progressBar" |
| | | style="?android:attr/progressBarStyleHorizontal" |
| | | android:layout_width="91dp" |
| | | android:layout_height="4.5dp" |
| | | android:layout_below="@+id/home_page_station_info_rl1_f_text2_tv" |
| | | android:layout_alignStart="@+id/info_rl1_f_text1_tv" |
| | | android:max="100" |
| | | android:progress="0" |
| | | android:progressDrawable="@drawable/linear_progress_drawable" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/info_rl1_f_title_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_below="@+id/progressBar" |
| | | android:layout_alignStart="@+id/info_rl1_f_text1_tv" |
| | | android:layout_marginTop="@dimen/dp_8" |
| | | android:text="@string/radio" |
| | | android:textColor="@color/text_FF5B5B5B" |
| | | android:textSize="@dimen/text_12" /> |
| | | |
| | | </RelativeLayout> |
| | | |
| | | <View |
| | | android:layout_width="0.5dp" |
| | | android:layout_height="69.5dp" |
| | | android:layout_gravity="center" |
| | | android:background="@color/text_1AFFFFFF" /> |
| | | |
| | | <RelativeLayout |
| | | android:layout_width="@dimen/dp_0" |
| | | android:layout_height="match_parent" |
| | | android:layout_weight="1"> |
| | | |
| | | <TextView |
| | | android:id="@+id/info_rl1_text1_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginStart="42.5dp" |
| | | android:layout_marginTop="16.5dp" |
| | | android:text="0.00" |
| | | android:textColor="@color/text_FFACACAC" |
| | | android:textSize="@dimen/text_16" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/kwp_unit" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_alignBottom="@+id/info_rl1_text1_tv" |
| | | android:layout_marginStart="4dp" |
| | | android:layout_marginBottom="2dp" |
| | | android:layout_toEndOf="@+id/info_rl1_text1_tv" |
| | | android:text="kWp" |
| | | android:textColor="@color/text_FF5B5B5B" |
| | | android:textSize="@dimen/text_10" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/info_rl1_text2_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_below="@+id/info_rl1_text1_tv" |
| | | android:layout_alignStart="@+id/info_rl1_text1_tv" |
| | | android:text="@string/string_capacity" |
| | | android:textColor="@color/text_FF5B5B5B" |
| | | android:textSize="@dimen/text_12" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/info_rl1_text3_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_below="@+id/info_rl1_text2_tv" |
| | | android:layout_alignStart="@+id/info_rl1_text1_tv" |
| | | android:layout_marginTop="@dimen/dp_18" |
| | | android:text="0.00" |
| | | android:textColor="@color/text_FFACACAC" |
| | | android:textSize="@dimen/text_16" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/kw_unit" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_alignBottom="@+id/info_rl1_text3_tv" |
| | | android:layout_marginStart="4dp" |
| | | android:layout_marginBottom="2dp" |
| | | android:layout_toEndOf="@+id/info_rl1_text3_tv" |
| | | android:text="kW" |
| | | android:textColor="@color/text_FF5B5B5B" |
| | | android:textSize="@dimen/text_10" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/info_rl1_text4_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_below="@+id/info_rl1_text3_tv" |
| | | android:layout_alignStart="@+id/info_rl1_text1_tv" |
| | | android:text="@string/generated_power" |
| | | android:textColor="@color/text_FF5B5B5B" |
| | | android:textSize="@dimen/text_12" /> |
| | | |
| | | </RelativeLayout> |
| | | |
| | | |
| | | <TextView |
| | | android:id="@+id/info_rl1_text1_tv" |
| | | style="@style/Text20Style" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="@dimen/dp_24" |
| | | android:layout_marginStart="@dimen/dp_16" |
| | | android:layout_marginTop="@dimen/dp_21" |
| | | android:layout_toEndOf="@+id/home_page_station_info_rl1_f" |
| | | android:text="0.00kWp" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/info_rl1_text2_tv" |
| | | style="@style/Text14Style" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="@dimen/dp_17" |
| | | android:layout_below="@+id/info_rl1_text1_tv" |
| | | android:layout_alignStart="@+id/info_rl1_text1_tv" |
| | | android:layout_marginTop="3dp" |
| | | android:text="@string/installed_capacity" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/info_rl1_text3_tv" |
| | | style="@style/Text20Style" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="@dimen/dp_24" |
| | | android:layout_below="@+id/info_rl1_text2_tv" |
| | | android:layout_alignStart="@+id/info_rl1_text1_tv" |
| | | android:layout_marginTop="@dimen/dp_16" |
| | | android:text="0.00kW" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/info_rl1_text4_tv" |
| | | style="@style/Text14Style" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="@dimen/dp_17" |
| | | android:layout_below="@+id/info_rl1_text3_tv" |
| | | android:layout_alignStart="@+id/info_rl1_text1_tv" |
| | | android:layout_marginTop="3dp" |
| | | android:text="@string/generated_power" /> |
| | | |
| | | </RelativeLayout> |
| | | |
| | | <RelativeLayout |
| | | android:id="@+id/home_page_station_info_rl2" |
| | | </LinearLayout> |
| | | <!--分割线--> |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/dp_166" |
| | | android:background="@drawable/page_station_generating_bj" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/home_page_station_info_rl1"> |
| | | android:layout_height="0.5dp" |
| | | android:background="@color/text_1AFFFFFF" /> |
| | | <!--发电量 日,月,年--> |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/dp_133" |
| | | android:orientation="horizontal"> |
| | | |
| | | <ImageView |
| | | android:layout_width="25dp" |
| | | android:layout_height="22dp" |
| | | android:layout_marginStart="15.5dp" |
| | | android:layout_marginTop="10.5dp" |
| | | android:src="@drawable/info_1" /> |
| | | <RelativeLayout |
| | | android:layout_width="@dimen/dp_0" |
| | | android:layout_height="match_parent" |
| | | android:layout_weight="1"> |
| | | <!--日--> |
| | | <TextView |
| | | android:id="@+id/day" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginStart="40.5dp" |
| | | android:layout_marginTop="18dp" |
| | | android:text="0.00" |
| | | android:textColor="@color/text_FFACACAC" |
| | | android:textSize="@dimen/text_16" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/home_page_station_info_rl1_title_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="14.5dp" |
| | | android:layout_marginStart="@dimen/dp_47" |
| | | android:layout_marginTop="17dp" |
| | | android:text="@string/generation" |
| | | android:textColor="@color/text_191919" |
| | | android:textSize="@dimen/text_12" /> |
| | | <TextView |
| | | android:id="@+id/day_unit" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_alignBottom="@+id/day" |
| | | android:layout_marginStart="4dp" |
| | | android:layout_marginBottom="2dp" |
| | | android:layout_toEndOf="@+id/day" |
| | | android:text="kWh" |
| | | android:textColor="@color/text_FF5B5B5B" |
| | | android:textSize="@dimen/text_10" /> |
| | | |
| | | <include |
| | | android:id="@+id/home_page_station_info_rl2_day_ic" |
| | | layout="@layout/item_data" |
| | | android:layout_width="@dimen/dp_171" |
| | | android:layout_height="@dimen/dp_44" |
| | | android:layout_marginTop="47.5dp" /> |
| | | <TextView |
| | | android:id="@+id/day_des" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_below="@+id/day_unit" |
| | | android:layout_alignStart="@+id/day" |
| | | android:text="@string/day_power_generation" |
| | | android:textColor="@color/text_FF5B5B5B" |
| | | android:textSize="@dimen/text_12" /> |
| | | |
| | | <View |
| | | android:id="@+id/line1_v" |
| | | <!--年--> |
| | | <TextView |
| | | android:id="@+id/year" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_below="@+id/day_des" |
| | | android:layout_marginStart="40.5dp" |
| | | android:layout_marginTop="20dp" |
| | | android:text="0.00" |
| | | android:textColor="@color/text_FFACACAC" |
| | | android:textSize="@dimen/text_16" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/year_unit" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_alignBottom="@+id/year" |
| | | android:layout_marginStart="4dp" |
| | | android:layout_marginBottom="2dp" |
| | | android:layout_toEndOf="@+id/year" |
| | | android:text="kWh" |
| | | android:textColor="@color/text_FF5B5B5B" |
| | | android:textSize="@dimen/text_10" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/year_des" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_below="@+id/year_unit" |
| | | android:layout_alignStart="@+id/year" |
| | | android:text="@string/year_power_generation" |
| | | android:textColor="@color/text_FF5B5B5B" |
| | | android:textSize="@dimen/text_12" /> |
| | | |
| | | |
| | | </RelativeLayout> |
| | | |
| | | <!--分割线--> |
| | | <LinearLayout |
| | | android:layout_width="0.5dp" |
| | | android:layout_height="37.5dp" |
| | | android:layout_marginTop="53dp" |
| | | android:layout_toEndOf="@+id/home_page_station_info_rl2_day_ic" |
| | | android:background="@color/text_E1E1E1" /> |
| | | android:layout_height="match_parent" |
| | | android:orientation="vertical"> |
| | | |
| | | <include |
| | | android:id="@+id/home_page_station_info_rl2_mon_ic" |
| | | layout="@layout/item_data" |
| | | android:layout_width="@dimen/dp_171" |
| | | android:layout_height="@dimen/dp_44" |
| | | android:layout_marginTop="47.5dp" |
| | | android:layout_toEndOf="@+id/line1_v" /> |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:layout_height="37.5dp" |
| | | android:layout_marginTop="21.5dp" |
| | | android:background="@color/text_1AFFFFFF" /> |
| | | |
| | | <include |
| | | android:id="@+id/home_page_station_info_rl2_year_ic" |
| | | layout="@layout/item_data" |
| | | android:layout_width="@dimen/dp_171" |
| | | android:layout_height="@dimen/dp_44" |
| | | android:layout_marginTop="106dp" /> |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:layout_height="37.5dp" |
| | | android:layout_marginTop="@dimen/dp_19" |
| | | android:background="@color/text_1AFFFFFF" /> |
| | | </LinearLayout> |
| | | |
| | | <View |
| | | android:id="@+id/line2_v" |
| | | android:layout_width="0.5dp" |
| | | android:layout_height="37.5dp" |
| | | android:layout_marginTop="109.5dp" |
| | | android:layout_toEndOf="@+id/home_page_station_info_rl2_year_ic" |
| | | android:background="@color/text_E1E1E1" /> |
| | | <RelativeLayout |
| | | android:layout_width="@dimen/dp_0" |
| | | android:layout_height="match_parent" |
| | | android:layout_weight="1"> |
| | | <!--月--> |
| | | <TextView |
| | | android:id="@+id/month" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginStart="40.5dp" |
| | | android:layout_marginTop="18dp" |
| | | android:text="0.00" |
| | | android:textColor="@color/text_FFACACAC" |
| | | android:textSize="@dimen/text_16" /> |
| | | |
| | | <include |
| | | android:id="@+id/home_page_station_info_rl2_cumulative_ic" |
| | | layout="@layout/item_data" |
| | | android:layout_width="@dimen/dp_171" |
| | | android:layout_height="@dimen/dp_44" |
| | | android:layout_marginTop="106dp" |
| | | android:layout_toEndOf="@+id/line2_v" /> |
| | | <TextView |
| | | android:id="@+id/month_unit" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_alignBottom="@+id/month" |
| | | android:layout_marginStart="4dp" |
| | | android:layout_marginBottom="2dp" |
| | | android:layout_toEndOf="@+id/month" |
| | | android:text="kWh" |
| | | android:textColor="@color/text_FF5B5B5B" |
| | | android:textSize="@dimen/text_10" /> |
| | | |
| | | </RelativeLayout> |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | <TextView |
| | | android:id="@+id/month_des" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_below="@+id/month_unit" |
| | | android:layout_alignStart="@+id/month" |
| | | android:text="@string/month_power_generation" |
| | | android:textColor="@color/text_FF5B5B5B" |
| | | android:textSize="@dimen/text_12" /> |
| | | |
| | | <!--累计发电量--> |
| | | <TextView |
| | | android:id="@+id/Total" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_below="@+id/month_des" |
| | | android:layout_marginStart="40.5dp" |
| | | android:layout_marginTop="20dp" |
| | | android:text="0.00" |
| | | android:textColor="@color/text_FFACACAC" |
| | | android:textSize="@dimen/text_16" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/Total_unit" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_alignBottom="@+id/Total" |
| | | android:layout_marginStart="4dp" |
| | | android:layout_marginBottom="2dp" |
| | | android:layout_toEndOf="@+id/Total" |
| | | android:text="kWh" |
| | | android:textColor="@color/text_FF5B5B5B" |
| | | android:textSize="@dimen/text_10" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/Total_des" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_below="@+id/Total_unit" |
| | | android:layout_alignStart="@+id/month" |
| | | android:text="@string/cumulative_power_generation" |
| | | android:textColor="@color/text_FF5B5B5B" |
| | | android:textSize="@dimen/text_12" /> |
| | | |
| | | |
| | | </RelativeLayout> |
| | | |
| | | |
| | | </LinearLayout> |
| | | |
| | | </LinearLayout> |
| | | <!--日期--> |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:id="@+id/home_page_station_data_cl" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginStart="@dimen/dp_16" |
| | | android:layout_marginTop="@dimen/dp_10" |
| | | android:layout_marginEnd="@dimen/dp_16" |
| | | android:background="@drawable/bj_ff1c1c1e" |
| | | android:paddingBottom="@dimen/dp_16" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/home_page_station_info_cl"> |
| | |
| | | <TextView |
| | | android:id="@+id/home_page_station_data_title_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="18dp" |
| | | android:layout_marginTop="@dimen/dp_25" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginStart="@dimen/dp_16" |
| | | android:layout_marginTop="@dimen/dp_16" |
| | | android:text="@string/energy_generation_statistics" |
| | | android:textColor="@color/text_E6000000" |
| | | android:textColor="@color/text_FFACACAC" |
| | | android:textSize="@dimen/text_14" |
| | | android:textStyle="bold" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toTopOf="parent" /> |
| | | <!--时间类型--> |
| | | <LinearLayout |
| | | android:id="@+id/home_page_station_select_time_type_ll" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="30.5dp" |
| | | android:layout_marginTop="@dimen/dp_13" |
| | | android:layout_width="0dp" |
| | | android:layout_height="35dp" |
| | | android:layout_marginStart="@dimen/dp_16" |
| | | android:layout_marginTop="@dimen/dp_16" |
| | | android:layout_marginEnd="@dimen/dp_16" |
| | | android:background="@drawable/line_c1c1c1" |
| | | android:orientation="horizontal" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | |
| | | |
| | | <TextView |
| | | android:id="@+id/day_tv" |
| | | style="@style/Text14Style" |
| | | android:layout_width="86dp" |
| | | style="@style/Text13Style" |
| | | android:layout_width="0dp" |
| | | android:layout_height="match_parent" |
| | | android:layout_weight="1" |
| | | android:gravity="center" |
| | | android:text="@string/day" /> |
| | | android:text="@string/day" |
| | | android:textStyle="bold" /> |
| | | |
| | | <View |
| | | android:id="@+id/v_1" |
| | | android:layout_width="1dp" |
| | | android:layout_height="match_parent" |
| | | android:background="@color/text_C1C1C1" /> |
| | | android:background="@color/text_FF39383D" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/month_tv" |
| | | style="@style/Text14Style" |
| | | android:layout_width="86dp" |
| | | style="@style/Text13Style" |
| | | android:layout_width="0dp" |
| | | android:layout_height="match_parent" |
| | | android:layout_weight="1" |
| | | android:gravity="center" |
| | | android:text="@string/month" /> |
| | | android:text="@string/month" |
| | | android:textStyle="bold" /> |
| | | |
| | | <View |
| | | android:id="@+id/v_2" |
| | | android:layout_width="1dp" |
| | | android:layout_height="match_parent" |
| | | android:background="@color/text_C1C1C1" /> |
| | | android:background="@color/text_FF39383D" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/year_tv" |
| | | style="@style/Text14Style" |
| | | android:layout_width="86dp" |
| | | style="@style/Text13Style" |
| | | android:layout_width="0dp" |
| | | android:layout_height="match_parent" |
| | | android:layout_weight="1" |
| | | android:gravity="center" |
| | | android:text="@string/year" /> |
| | | android:text="@string/year" |
| | | android:textStyle="bold" /> |
| | | |
| | | <View |
| | | android:id="@+id/v_3" |
| | | android:layout_width="1dp" |
| | | android:layout_height="match_parent" |
| | | android:background="@color/text_C1C1C1" /> |
| | | android:background="@color/text_FF39383D" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/lifeCycle_tv" |
| | | style="@style/Text14Style" |
| | | android:layout_width="86dp" |
| | | style="@style/Text13Style" |
| | | android:layout_width="0dp" |
| | | android:layout_height="match_parent" |
| | | android:layout_weight="1" |
| | | android:gravity="center" |
| | | android:text="@string/life_cycle" /> |
| | | android:text="@string/life_cycle" |
| | | android:textStyle="bold" /> |
| | | |
| | | </LinearLayout> |
| | | <!--时间切换控件--> |
| | |
| | | android:id="@+id/home_page_station_select_time_ll" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="30.5dp" |
| | | android:layout_marginTop="@dimen/dp_23" |
| | | android:layout_marginTop="@dimen/dp_22" |
| | | android:gravity="center" |
| | | android:orientation="horizontal" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | |
| | | |
| | | <ImageView |
| | | android:id="@+id/last_step_iv" |
| | | android:layout_width="9dp" |
| | | android:layout_height="15dp" |
| | | android:layout_width="16dp" |
| | | android:layout_height="16dp" |
| | | android:scaleType="fitCenter" |
| | | android:src="@drawable/last_step" /> |
| | | |
| | |
| | | </LinearLayout> |
| | | |
| | | <View |
| | | android:layout_width="@dimen/dp_16" |
| | | android:layout_width="@dimen/dp_4" |
| | | android:layout_height="match_parent" /> |
| | | |
| | | |
| | |
| | | android:layout_height="match_parent" |
| | | android:gravity="center" |
| | | android:text="2024/03/07" |
| | | android:textColor="@color/text_E6000000" |
| | | android:textSize="@dimen/text_16" |
| | | android:textStyle="bold" /> |
| | | android:textColor="@color/text_FFACACAC" |
| | | android:textSize="@dimen/text_14" /> |
| | | |
| | | <View |
| | | android:layout_width="@dimen/dp_16" |
| | | android:layout_width="@dimen/dp_4" |
| | | android:layout_height="match_parent" /> |
| | | <!--加大点击热区--> |
| | | <LinearLayout |
| | |
| | | |
| | | <ImageView |
| | | android:id="@+id/next_step_iv" |
| | | android:layout_width="9dp" |
| | | android:layout_height="15dp" |
| | | android:layout_width="16dp" |
| | | android:layout_height="16dp" |
| | | android:scaleType="fitCenter" |
| | | android:src="@drawable/next_step" /> |
| | | |
| | |
| | | android:id="@+id/chart_title_rl" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/dp_15" |
| | | android:layout_marginTop="@dimen/dp_36" |
| | | android:layout_marginTop="@dimen/dp_24" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/home_page_station_select_time_ll"> |
| | |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="match_parent" |
| | | android:layout_alignParentStart="true" |
| | | android:textColor="@color/text_66000000" |
| | | android:layout_marginStart="18.5dp" |
| | | android:textColor="@color/text_FF5B5B5B" |
| | | android:textSize="@dimen/text_12" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/unit_icon_tv" |
| | | android:layout_width="@dimen/dp_11" |
| | | android:layout_height="@dimen/dp_11" |
| | | android:layout_width="@dimen/dp_10" |
| | | android:layout_height="@dimen/dp_10" |
| | | android:layout_marginTop="@dimen/dp_3" |
| | | android:layout_marginEnd="@dimen/dp_3" |
| | | android:layout_toStartOf="@+id/unit_text_tv" |
| | |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="match_parent" |
| | | android:layout_alignParentEnd="true" |
| | | android:layout_marginEnd="@dimen/dp_16" |
| | | android:text="@string/pv_power" |
| | | android:textColor="@color/text_E6000000" |
| | | android:textColor="@color/text_FFACACAC" |
| | | android:textSize="@dimen/text_12" /> |
| | | |
| | | </RelativeLayout> |
| | |
| | | <FrameLayout |
| | | android:layout_width="0dp" |
| | | android:layout_height="284dp" |
| | | android:layout_marginStart="@dimen/dp_4" |
| | | android:layout_marginTop="@dimen/dp_18" |
| | | android:layout_marginEnd="@dimen/dp_4" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/chart_title_rl"> |
| | |
| | | <!--社会贡献显示--> |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:id="@+id/home_page_station_statistics_cl" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="186dp" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginStart="@dimen/dp_16" |
| | | android:layout_marginTop="@dimen/dp_26" |
| | | android:layout_marginTop="@dimen/dp_10" |
| | | android:layout_marginEnd="@dimen/dp_16" |
| | | android:background="@drawable/bj_ff1c1c1e" |
| | | android:paddingBottom="@dimen/dp_16" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/home_page_station_data_cl"> |
| | |
| | | <TextView |
| | | android:id="@+id/social_contribution_title_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="17dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginStart="@dimen/dp_16" |
| | | android:layout_marginTop="@dimen/dp_16" |
| | | android:text="@string/social_contribution" |
| | | android:textColor="@color/text_E6000000" |
| | | android:textColor="@color/text_FFACACAC" |
| | | android:textSize="@dimen/text_14" |
| | | android:textStyle="bold" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toTopOf="parent" /> |
| | | |
| | | <RelativeLayout |
| | | android:id="@+id/social_contribution_1_rl" |
| | | android:layout_width="@dimen/dp_104" |
| | | android:layout_height="@dimen/dp_126" |
| | | android:layout_marginTop="@dimen/dp_13" |
| | | <LinearLayout |
| | | android:id="@+id/ll" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginStart="@dimen/dp_16" |
| | | android:layout_marginTop="@dimen/dp_16" |
| | | android:layout_marginEnd="@dimen/dp_16" |
| | | android:orientation="horizontal" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/social_contribution_title_tv"> |
| | | |
| | | <ImageView |
| | | android:layout_width="match_parent" |
| | | <RelativeLayout |
| | | android:id="@+id/social_contribution_1_rl" |
| | | android:layout_width="97dp" |
| | | android:layout_height="@dimen/dp_116"> |
| | | |
| | | <ImageView |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:scaleType="fitCenter" |
| | | android:src="@drawable/social_contribution_1" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/social_contribution_data_1_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_alignParentStart="true" |
| | | android:layout_alignParentTop="true" |
| | | android:layout_marginStart="@dimen/dp_8" |
| | | android:layout_marginTop="@dimen/dp_8" |
| | | android:text="13.14" |
| | | android:textColor="@color/text_FFACACAC" |
| | | android:textSize="@dimen/text_16" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/social_contribution_unit_1_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_alignBottom="@+id/social_contribution_data_1_tv" |
| | | android:layout_marginStart="2.5dp" |
| | | android:layout_toEndOf="@+id/social_contribution_data_1_tv" |
| | | android:text="@string/t" |
| | | android:textColor="@color/text_FF5B5B5B" |
| | | android:textSize="@dimen/text_12" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/social_contribution_des_1_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_below="@+id/social_contribution_data_1_tv" |
| | | android:layout_alignParentStart="true" |
| | | android:layout_marginStart="@dimen/dp_8" |
| | | android:text="@string/saving_standard_coal" |
| | | android:textColor="@color/text_FF5B5B5B" |
| | | android:textSize="@dimen/text_10" /> |
| | | |
| | | |
| | | </RelativeLayout> |
| | | |
| | | <View |
| | | android:layout_width="0dp" |
| | | android:layout_height="match_parent" |
| | | android:scaleType="fitCenter" |
| | | android:src="@drawable/social_contribution_1" /> |
| | | android:layout_weight="1" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/social_contribution_data_1_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="22dp" |
| | | android:layout_alignParentStart="true" |
| | | android:layout_alignParentTop="true" |
| | | android:layout_marginStart="@dimen/dp_10" |
| | | android:layout_marginTop="@dimen/dp_16" |
| | | android:text="13.14" |
| | | android:textColor="@color/text_E6000000" |
| | | android:textSize="@dimen/text_18" |
| | | android:textStyle="bold" /> |
| | | <RelativeLayout |
| | | android:id="@+id/social_contribution_2_rl" |
| | | android:layout_width="97dp" |
| | | android:layout_height="@dimen/dp_116"> |
| | | |
| | | <TextView |
| | | android:id="@+id/social_contribution_unit_1_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="15dp" |
| | | android:layout_alignBottom="@+id/social_contribution_data_1_tv" |
| | | android:layout_marginStart="@dimen/dp_2" |
| | | android:layout_toEndOf="@+id/social_contribution_data_1_tv" |
| | | android:text="@string/t" |
| | | android:textColor="@color/text_E6000000" |
| | | android:textSize="@dimen/text_12" |
| | | <ImageView |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:scaleType="fitCenter" |
| | | android:src="@drawable/social_contribution_2" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/social_contribution_data_2_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_alignParentStart="true" |
| | | android:layout_alignParentTop="true" |
| | | android:layout_marginStart="@dimen/dp_8" |
| | | android:layout_marginTop="@dimen/dp_8" |
| | | android:text="13.14" |
| | | android:textColor="@color/text_FFACACAC" |
| | | android:textSize="@dimen/text_16" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/social_contribution_unit_2_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_alignBottom="@+id/social_contribution_data_2_tv" |
| | | android:layout_marginStart="2.5dp" |
| | | android:layout_toEndOf="@+id/social_contribution_data_2_tv" |
| | | android:text="@string/t" |
| | | android:textColor="@color/text_FF5B5B5B" |
| | | android:textSize="@dimen/text_12" |
| | | |
| | | /> |
| | | |
| | | <TextView |
| | | android:id="@+id/social_contribution_des_2_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_below="@+id/social_contribution_data_2_tv" |
| | | android:layout_alignParentStart="true" |
| | | android:layout_marginStart="@dimen/dp_8" |
| | | android:text="@string/co_reduction_rate" |
| | | android:textColor="@color/text_FF5B5B5B" |
| | | android:textSize="@dimen/text_10" /> |
| | | |
| | | |
| | | /> |
| | | </RelativeLayout> |
| | | |
| | | <TextView |
| | | android:id="@+id/social_contribution_des_1_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="15dp" |
| | | android:layout_alignParentStart="true" |
| | | android:layout_alignParentTop="true" |
| | | android:layout_marginStart="@dimen/dp_10" |
| | | android:layout_marginTop="@dimen/dp_39" |
| | | android:text="@string/saving_standard_coal" |
| | | android:textColor="@color/text_66000000" |
| | | android:textSize="@dimen/text_12" /> |
| | | |
| | | |
| | | </RelativeLayout> |
| | | |
| | | <RelativeLayout |
| | | android:id="@+id/social_contribution_2_rl" |
| | | android:layout_width="@dimen/dp_104" |
| | | android:layout_height="@dimen/dp_126" |
| | | android:layout_marginStart="@dimen/dp_16" |
| | | android:layout_marginTop="@dimen/dp_13" |
| | | app:layout_constraintStart_toEndOf="@+id/social_contribution_1_rl" |
| | | app:layout_constraintTop_toBottomOf="@+id/social_contribution_title_tv"> |
| | | |
| | | <ImageView |
| | | android:layout_width="match_parent" |
| | | <View |
| | | android:layout_width="0dp" |
| | | android:layout_height="match_parent" |
| | | android:scaleType="fitCenter" |
| | | android:src="@drawable/social_contribution_2" /> |
| | | android:layout_weight="1" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/social_contribution_data_2_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="22dp" |
| | | android:layout_alignParentStart="true" |
| | | android:layout_alignParentTop="true" |
| | | android:layout_marginStart="@dimen/dp_10" |
| | | android:layout_marginTop="@dimen/dp_16" |
| | | android:text="13.14" |
| | | android:textColor="@color/text_E6000000" |
| | | android:textSize="@dimen/text_18" |
| | | android:textStyle="bold" /> |
| | | <RelativeLayout |
| | | android:id="@+id/social_contribution_3_rl" |
| | | android:layout_width="97dp" |
| | | android:layout_height="@dimen/dp_116"> |
| | | |
| | | <TextView |
| | | android:id="@+id/social_contribution_unit_2_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="15dp" |
| | | android:layout_alignBottom="@+id/social_contribution_data_2_tv" |
| | | android:layout_marginStart="@dimen/dp_2" |
| | | android:layout_toEndOf="@+id/social_contribution_data_2_tv" |
| | | android:text="@string/t" |
| | | android:textColor="@color/text_E6000000" |
| | | android:textSize="@dimen/text_12" |
| | | <ImageView |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:scaleType="fitCenter" |
| | | android:src="@drawable/social_contribution_3" /> |
| | | |
| | | /> |
| | | <TextView |
| | | android:id="@+id/social_contribution_data_3_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_alignParentStart="true" |
| | | android:layout_alignParentTop="true" |
| | | android:layout_marginStart="@dimen/dp_8" |
| | | android:layout_marginTop="@dimen/dp_8" |
| | | android:text="13.14" |
| | | android:textColor="@color/text_FFACACAC" |
| | | android:textSize="@dimen/text_16" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/social_contribution_des_2_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="15dp" |
| | | android:layout_alignParentStart="true" |
| | | android:layout_alignParentTop="true" |
| | | android:layout_marginStart="@dimen/dp_10" |
| | | android:layout_marginTop="@dimen/dp_39" |
| | | android:text="@string/co_reduction_rate" |
| | | android:textColor="@color/text_66000000" |
| | | android:textSize="@dimen/text_12" /> |
| | | <TextView |
| | | android:id="@+id/social_contribution_unit_3_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_alignBottom="@+id/social_contribution_data_3_tv" |
| | | android:layout_marginStart="2.5dp" |
| | | android:layout_toEndOf="@+id/social_contribution_data_3_tv" |
| | | android:text="@string/number" |
| | | android:textColor="@color/text_FF5B5B5B" |
| | | android:textSize="@dimen/text_12" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/social_contribution_des_3_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_below="@+id/social_contribution_data_3_tv" |
| | | android:layout_alignParentStart="true" |
| | | android:layout_marginStart="@dimen/dp_8" |
| | | android:text="@string/quantity_of_equivalent_values" |
| | | android:textColor="@color/text_FF5B5B5B" |
| | | android:textSize="@dimen/text_10" /> |
| | | |
| | | |
| | | </RelativeLayout> |
| | | |
| | | <RelativeLayout |
| | | android:id="@+id/social_contribution_3_rl" |
| | | android:layout_width="@dimen/dp_104" |
| | | android:layout_height="@dimen/dp_126" |
| | | android:layout_marginStart="@dimen/dp_16" |
| | | android:layout_marginTop="@dimen/dp_13" |
| | | app:layout_constraintStart_toEndOf="@+id/social_contribution_2_rl" |
| | | app:layout_constraintTop_toBottomOf="@+id/social_contribution_title_tv"> |
| | | |
| | | <ImageView |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:scaleType="fitCenter" |
| | | android:src="@drawable/social_contribution_3" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/social_contribution_data_3_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="22dp" |
| | | android:layout_alignParentTop="true" |
| | | android:layout_marginStart="@dimen/dp_10" |
| | | android:layout_marginTop="@dimen/dp_16" |
| | | android:text="13" |
| | | android:textColor="@color/text_E6000000" |
| | | android:textSize="@dimen/text_18" |
| | | android:textStyle="bold" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/social_contribution_unit_3_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="15dp" |
| | | android:layout_alignBottom="@+id/social_contribution_data_3_tv" |
| | | android:layout_marginStart="@dimen/dp_2" |
| | | android:layout_toEndOf="@+id/social_contribution_data_3_tv" |
| | | android:text="@string/number" |
| | | android:textColor="@color/text_E6000000" |
| | | android:textSize="@dimen/text_12" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/social_contribution_des_3_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="15dp" |
| | | android:layout_alignParentStart="true" |
| | | android:layout_alignParentTop="true" |
| | | android:layout_marginStart="@dimen/dp_10" |
| | | android:layout_marginTop="@dimen/dp_39" |
| | | android:text="@string/quantity_of_equivalent_values" |
| | | android:textColor="@color/text_66000000" |
| | | android:textSize="@dimen/text_12" /> |
| | | |
| | | |
| | | </RelativeLayout> |
| | | </RelativeLayout> |
| | | </LinearLayout> |
| | | |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | |
| | |
| | | |
| | | |
| | | </ScrollView> |
| | | </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> |
| | | </com.hdl.photovoltaic.widget.refreshlayout.BGARefreshLayout> |
| | | |
| | | <!-- <androidx.constraintlayout.widget.Guideline--> |
| | | <!-- android:id="@+id/guideline2"--> |
| | | <!-- android:layout_width="wrap_content"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:orientation="horizontal"--> |
| | | <!-- app:layout_constraintGuide_begin="20dp" />--> |
| | | |
| | | <!-- <androidx.constraintlayout.widget.Guideline--> |
| | | <!-- android:id="@+id/guideline3"--> |
| | | <!-- android:layout_width="wrap_content"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:orientation="vertical"--> |
| | | <!-- app:layout_constraintGuide_begin="20dp" />--> |
| | | |
| | | |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |