| | |
| | | xmlns:tools="http://schemas.android.com/tools" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:background="@color/text_FF161616" |
| | | android:background="@color/text_FF000000" |
| | | tools:context=".ui.home.HomePageFragment"> |
| | | <!--头部标签--> |
| | | <RelativeLayout |
| | |
| | | <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_ff333738" |
| | | android:background="@drawable/bj_ff1c1c1e" |
| | | android:orientation="horizontal" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | |
| | | android:layout_height="wrap_content" |
| | | android:gravity="center" |
| | | android:text="0" |
| | | android:textColor="@color/text_FFFFFFFF" |
| | | android:textColor="@color/text_E6FFFFFF" |
| | | android:textSize="@dimen/text_16" /> |
| | | |
| | | <TextView |
| | |
| | | android:layout_height="wrap_content" |
| | | android:gravity="center" |
| | | android:text="0" |
| | | android:textColor="@color/text_FFFFFFFF" |
| | | android:textColor="@color/text_E6FFFFFF" |
| | | android:textSize="@dimen/text_16" /> |
| | | |
| | | <TextView |
| | |
| | | android:layout_height="wrap_content" |
| | | android:gravity="center" |
| | | android:text="0" |
| | | android:textColor="@color/text_FFFFFFFF" |
| | | android:textColor="@color/text_E6FFFFFF" |
| | | android:textSize="@dimen/text_16" /> |
| | | |
| | | <TextView |
| | |
| | | android:layout_height="wrap_content" |
| | | android:gravity="center" |
| | | android:text="0" |
| | | android:textColor="@color/text_FFFFFFFF" |
| | | android:textColor="@color/text_E6FFFFFF" |
| | | android:textSize="@dimen/text_16" /> |
| | | |
| | | <TextView |
| | |
| | | android:layout_marginStart="@dimen/dp_16" |
| | | android:layout_marginTop="@dimen/dp_10" |
| | | android:layout_marginEnd="@dimen/dp_16" |
| | | android:background="@drawable/bj_ff333738" |
| | | android:background="@drawable/bj_ff1c1c1e" |
| | | android:orientation="vertical" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | |
| | | android:layout_marginStart="4dp" |
| | | android:layout_marginBottom="2dp" |
| | | android:layout_toEndOf="@+id/info_rl1_text3_tv" |
| | | android:text="kWp" |
| | | android:text="kW" |
| | | android:textColor="@color/text_66FFFFFF" |
| | | android:textSize="@dimen/text_10" /> |
| | | |
| | |
| | | android:layout_marginStart="@dimen/dp_16" |
| | | android:layout_marginTop="@dimen/dp_10" |
| | | android:layout_marginEnd="@dimen/dp_16" |
| | | android:background="@drawable/bj_ff333738" |
| | | android:background="@drawable/bj_ff1c1c1e" |
| | | android:paddingBottom="@dimen/dp_16" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | |
| | | <LinearLayout |
| | | android:id="@+id/home_page_station_select_time_type_ll" |
| | | android:layout_width="0dp" |
| | | android:layout_height="30.5dp" |
| | | android:layout_height="35dp" |
| | | android:layout_marginStart="@dimen/dp_16" |
| | | android:layout_marginTop="@dimen/dp_16" |
| | | android:layout_marginEnd="@dimen/dp_16" |
| | |
| | | |
| | | <TextView |
| | | android:id="@+id/day_tv" |
| | | style="@style/Text12Style" |
| | | 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="0.5dp" |
| | | android:layout_width="1dp" |
| | | android:layout_height="match_parent" |
| | | android:background="@color/text_33FFFFFF" /> |
| | | android:background="@color/text_FF39383D" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/month_tv" |
| | | style="@style/Text12Style" |
| | | 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="0.5dp" |
| | | android:layout_width="1dp" |
| | | android:layout_height="match_parent" |
| | | android:background="@color/text_33FFFFFF" /> |
| | | android:background="@color/text_FF39383D" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/year_tv" |
| | | style="@style/Text12Style" |
| | | 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="0.5dp" |
| | | android:layout_width="1dp" |
| | | android:layout_height="match_parent" |
| | | android:background="@color/text_33FFFFFF" /> |
| | | android:background="@color/text_FF39383D" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/lifeCycle_tv" |
| | | style="@style/Text12Style" |
| | | 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> |
| | | <!--时间切换控件--> |
| | |
| | | |
| | | <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: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:layout_marginStart="@dimen/dp_16" |
| | | android:layout_marginTop="@dimen/dp_10" |
| | | android:layout_marginEnd="@dimen/dp_16" |
| | | android:background="@drawable/bj_ff333738" |
| | | |
| | | android:background="@drawable/bj_ff1c1c1e" |
| | | android:paddingBottom="@dimen/dp_16" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | |
| | | <RelativeLayout |
| | | android:id="@+id/social_contribution_1_rl" |
| | | android:layout_width="97dp" |
| | | android:layout_height="@dimen/dp_126"> |
| | | android:layout_height="@dimen/dp_116"> |
| | | |
| | | <ImageView |
| | | android:layout_width="match_parent" |
| | |
| | | android:layout_marginStart="@dimen/dp_8" |
| | | android:text="@string/saving_standard_coal" |
| | | android:textColor="@color/text_66FFFFFF" |
| | | android:textSize="@dimen/text_11" /> |
| | | android:textSize="@dimen/text_10" /> |
| | | |
| | | |
| | | </RelativeLayout> |
| | |
| | | <RelativeLayout |
| | | android:id="@+id/social_contribution_2_rl" |
| | | android:layout_width="97dp" |
| | | android:layout_height="@dimen/dp_126"> |
| | | android:layout_height="@dimen/dp_116"> |
| | | |
| | | <ImageView |
| | | android:layout_width="match_parent" |
| | |
| | | android:layout_marginStart="@dimen/dp_8" |
| | | android:text="@string/co_reduction_rate" |
| | | android:textColor="@color/text_66FFFFFF" |
| | | android:textSize="@dimen/text_11" /> |
| | | android:textSize="@dimen/text_10" /> |
| | | |
| | | |
| | | </RelativeLayout> |
| | |
| | | <RelativeLayout |
| | | android:id="@+id/social_contribution_3_rl" |
| | | android:layout_width="97dp" |
| | | android:layout_height="@dimen/dp_126"> |
| | | android:layout_height="@dimen/dp_116"> |
| | | |
| | | <ImageView |
| | | android:layout_width="match_parent" |
| | |
| | | android:layout_marginStart="@dimen/dp_8" |
| | | android:text="@string/quantity_of_equivalent_values" |
| | | android:textColor="@color/text_66FFFFFF" |
| | | android:textSize="@dimen/text_11" /> |
| | | android:textSize="@dimen/text_10" /> |
| | | |
| | | |
| | | </RelativeLayout> |