| | |
| | | xmlns:tools="http://schemas.android.com/tools" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:background="@drawable/bj" |
| | | tools:context=".ui.home.HomePageFragment"> |
| | | |
| | | <TextView |
| | |
| | | android:layout_height="@dimen/dp_26" |
| | | android:layout_marginStart="@dimen/dp_16" |
| | | android:layout_marginTop="58dp" |
| | | android:text="@string/power_shome_page" |
| | | android:text="@string/summarize" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toTopOf="parent" /> |
| | | |
| | |
| | | |
| | | <TextView |
| | | android:id="@+id/home_page_station_info_rl1_f_text2_tv" |
| | | android:layout_width="9dp" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="14.5dp" |
| | | android:layout_alignBottom="@+id/info_rl1_f_text1_tv" |
| | | android:layout_marginStart="2.5dp" |
| | |
| | | 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.00kW.h" /> |
| | | 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_height="@dimen/dp_18" |
| | | 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" /> |
| | | android:text="@string/string_capacity" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/info_rl1_text3_tv" |
| | |
| | | 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.h" /> |
| | | 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_height="@dimen/dp_18" |
| | | android:layout_below="@+id/info_rl1_text3_tv" |
| | | android:layout_alignStart="@+id/info_rl1_text1_tv" |
| | | android:layout_marginTop="3dp" |
| | |
| | | android:id="@+id/home_page_station_info_rl2" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/dp_166" |
| | | android:background="@drawable/bj_13_ffffff" |
| | | 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"> |
| | |
| | | <TextView |
| | | android:id="@+id/home_page_station_info_rl1_title_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="14.5dp" |
| | | android:layout_height="16dp" |
| | | android:layout_marginStart="@dimen/dp_47" |
| | | android:layout_marginTop="17dp" |
| | | android:layout_marginTop="16dp" |
| | | android:text="@string/generation" |
| | | android:textColor="@color/text_191919" |
| | | android:textSize="@dimen/text_12" /> |
| | |
| | | <TextView |
| | | android:id="@+id/day_tv" |
| | | style="@style/Text14Style" |
| | | android:layout_width="86dp" |
| | | android:layout_width="85dp" |
| | | android:layout_height="match_parent" |
| | | android:gravity="center" |
| | | android:text="@string/day" /> |
| | |
| | | <TextView |
| | | android:id="@+id/month_tv" |
| | | style="@style/Text14Style" |
| | | android:layout_width="86dp" |
| | | android:layout_width="85dp" |
| | | android:layout_height="match_parent" |
| | | android:gravity="center" |
| | | android:text="@string/month" /> |
| | |
| | | <TextView |
| | | android:id="@+id/year_tv" |
| | | style="@style/Text14Style" |
| | | android:layout_width="86dp" |
| | | android:layout_width="85dp" |
| | | android:layout_height="match_parent" |
| | | android:gravity="center" |
| | | android:text="@string/year" /> |
| | |
| | | |
| | | <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:text="PV power generation" |
| | | android:text="@string/pv_power" |
| | | android:textColor="@color/text_E6000000" |
| | | android:textSize="@dimen/text_12" /> |
| | | |
| | |
| | | android:layout_alignParentStart="true" |
| | | android:layout_alignParentTop="true" |
| | | android:layout_marginStart="@dimen/dp_10" |
| | | android:layout_marginTop="@dimen/dp_16" |
| | | android:layout_marginTop="@dimen/dp_12" |
| | | android:text="13.14" |
| | | android:textColor="@color/text_E6000000" |
| | | android:textSize="@dimen/text_18" |
| | |
| | | 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="(T)" |
| | | android:textColor="@color/text_E6000000" |
| | | android:text="@string/t" |
| | | android:textColor="@color/text_969696" |
| | | android:textSize="@dimen/text_12" |
| | | |
| | | |
| | |
| | | android:layout_alignParentStart="true" |
| | | android:layout_alignParentTop="true" |
| | | android:layout_marginStart="@dimen/dp_10" |
| | | android:layout_marginTop="@dimen/dp_16" |
| | | android:layout_marginTop="@dimen/dp_12" |
| | | android:text="13.14" |
| | | android:textColor="@color/text_E6000000" |
| | | android:textSize="@dimen/text_18" |
| | |
| | | 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="(T)" |
| | | android:textColor="@color/text_E6000000" |
| | | android:text="@string/t" |
| | | android:textColor="@color/text_969696" |
| | | android:textSize="@dimen/text_12" |
| | | |
| | | /> |
| | |
| | | android:layout_height="22dp" |
| | | android:layout_alignParentTop="true" |
| | | android:layout_marginStart="@dimen/dp_10" |
| | | android:layout_marginTop="@dimen/dp_16" |
| | | android:text="13.14" |
| | | android:layout_marginTop="@dimen/dp_12" |
| | | android:text="13" |
| | | android:textColor="@color/text_E6000000" |
| | | android:textSize="@dimen/text_18" |
| | | android:textStyle="bold" /> |
| | |
| | | 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="(T)" |
| | | android:textColor="@color/text_E6000000" |
| | | android:textSize="@dimen/text_12" |
| | | |
| | | /> |
| | | android:text="@string/number" |
| | | android:textColor="@color/text_969696" |
| | | android:textSize="@dimen/text_12" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/social_contribution_des_3_tv" |