| | |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="@dimen/dp_24" |
| | | android:layout_marginStart="@dimen/dp_16" |
| | | android:layout_marginTop="@dimen/dp_9" |
| | | android:layout_marginTop="58dp" |
| | | android:text="@string/power_shome_page" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toTopOf="parent" /> |
| | | |
| | | <ImageView |
| | | android:id="@+id/home_page_station_add_iv" |
| | | android:layout_width="@dimen/dp_18" |
| | | android:layout_height="@dimen/dp_18" |
| | | android:layout_marginTop="@dimen/dp_9" |
| | | 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" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintTop_toTopOf="parent" /> |
| | | |
| | | |
| | | <ScrollView |
| | | android:layout_width="0dp" |
| | | android:layout_height="0dp" |
| | | android:layout_marginTop="@dimen/dp_26" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/home_page_title_tv"> |
| | | |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginStart="@dimen/dp_16" |
| | | android:layout_marginEnd="@dimen/dp_16"> |
| | | |
| | | <LinearLayout |
| | | android:id="@+id/home_page_station_ll" |
| | | android:layout_width="0dp" |
| | | android:layout_height="@dimen/dp_56" |
| | | android:layout_marginTop="@dimen/dp_26" |
| | | android:layout_marginEnd="@dimen/dp_16" |
| | | android:orientation="horizontal" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="@+id/home_page_title_tv" |
| | | app:layout_constraintTop_toBottomOf="@+id/home_page_title_tv"> |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toTopOf="parent"> |
| | | <!--全部--> |
| | | <include |
| | | android:id="@+id/home_page_station_all_ic" |
| | |
| | | |
| | | </LinearLayout> |
| | | |
| | | |
| | | <ScrollView |
| | | android:layout_width="0dp" |
| | | android:layout_height="0dp" |
| | | android:layout_marginStart="@dimen/dp_16" |
| | | android:layout_marginEnd="@dimen/dp_16" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/home_page_station_ll"> |
| | | |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content"> |
| | | |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:id="@+id/home_page_station_info_cl" |
| | | android:layout_width="0dp" |
| | | android:layout_height="312dp" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toTopOf="parent"> |
| | | app:layout_constraintTop_toBottomOf="@+id/home_page_station_ll"> |
| | | |
| | | <RelativeLayout |
| | | android:id="@+id/home_page_station_info_rl1" |
| | |
| | | |
| | | <TextView |
| | | android:id="@+id/home_page_station_info_rl1_f_text1_tv" |
| | | android:layout_width="62dp" |
| | | android:layout_height="31.5dp" |
| | | android:layout_width="56dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_centerVertical="true" |
| | | android:gravity="end|center_vertical" |
| | | android:text="88" |
| | |
| | | </RelativeLayout> |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | |
| | | <TextView |
| | | android:id="@+id/test1" |
| | | android:layout_width="wrap_content" |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:id="@+id/home_page_station_data_cl" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:text="点击测试1" |
| | | android:textSize="@dimen/text_30" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/home_page_station_info_cl" /> |
| | | |
| | | <com.github.AAChartModel.AAChartCore.AAChartCreator.AAChartView |
| | | android:id="@+id/AAChartView1" |
| | | android:layout_width="0dp" |
| | | android:layout_height="300dp" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/test1" /> |
| | | app:layout_constraintTop_toBottomOf="@+id/home_page_station_info_cl"> |
| | | |
| | | <TextView |
| | | android:id="@+id/test2" |
| | | android:id="@+id/home_page_station_data_title_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="点击测试2" |
| | | android:textSize="@dimen/text_30" |
| | | android:layout_height="18dp" |
| | | android:layout_marginTop="@dimen/dp_25" |
| | | android:text="点击测试" |
| | | android:textColor="@color/text_90000000" |
| | | 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:background="@drawable/line_c1c1c1" |
| | | android:orientation="horizontal" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/AAChartView1" /> |
| | | |
| | | <com.github.AAChartModel.AAChartCore.AAChartCreator.AAChartView |
| | | android:id="@+id/AAChartView2" |
| | | android:layout_width="0dp" |
| | | android:layout_height="300dp" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/test2" /> |
| | | app:layout_constraintTop_toBottomOf="@+id/home_page_station_data_title_tv"> |
| | | |
| | | <TextView |
| | | android:id="@+id/test3" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="点击测试3" |
| | | android:textSize="@dimen/text_30" |
| | | android:id="@+id/day_tv" |
| | | style="@style/Text14Style" |
| | | android:layout_width="86dp" |
| | | android:layout_height="match_parent" |
| | | android:gravity="center" |
| | | android:text="Day" /> |
| | | |
| | | <View |
| | | android:id="@+id/v_1" |
| | | android:layout_width="1dp" |
| | | android:layout_height="match_parent" |
| | | android:background="@color/text_C1C1C1" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/month_tv" |
| | | style="@style/Text14Style" |
| | | android:layout_width="86dp" |
| | | android:layout_height="match_parent" |
| | | android:gravity="center" |
| | | android:text="Month" /> |
| | | |
| | | <View |
| | | android:id="@+id/v_2" |
| | | android:layout_width="1dp" |
| | | android:layout_height="match_parent" |
| | | android:background="@color/text_C1C1C1" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/year_tv" |
| | | style="@style/Text14Style" |
| | | android:layout_width="86dp" |
| | | android:layout_height="match_parent" |
| | | android:gravity="center" |
| | | android:text="Year" /> |
| | | |
| | | <View |
| | | android:id="@+id/v_3" |
| | | android:layout_width="1dp" |
| | | android:layout_height="match_parent" |
| | | android:background="@color/text_C1C1C1" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/lifeCycle_tv" |
| | | style="@style/Text14Style" |
| | | android:layout_width="86dp" |
| | | android:layout_height="match_parent" |
| | | android:gravity="center" |
| | | android:text="LifeCycle" /> |
| | | |
| | | </LinearLayout> |
| | | <!--时间切换控件--> |
| | | <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:gravity="center" |
| | | android:orientation="horizontal" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/AAChartView2" /> |
| | | app:layout_constraintTop_toBottomOf="@+id/home_page_station_select_time_type_ll"> |
| | | |
| | | <ImageView |
| | | android:id="@+id/last_step_iv" |
| | | android:layout_width="9dp" |
| | | android:layout_height="15dp" |
| | | android:scaleType="fitCenter" |
| | | android:src="@drawable/last_step" /> |
| | | |
| | | <View |
| | | android:layout_width="@dimen/dp_32" |
| | | android:layout_height="match_parent" /> |
| | | |
| | | |
| | | <TextView |
| | | android:id="@+id/year_month_day_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="match_parent" |
| | | android:gravity="center" |
| | | android:text="2024/03/07" |
| | | android:textColor="@color/text_90000000" |
| | | android:textSize="@dimen/text_16" |
| | | android:textStyle="bold" /> |
| | | |
| | | <View |
| | | android:layout_width="@dimen/dp_32" |
| | | android:layout_height="match_parent" /> |
| | | |
| | | <ImageView |
| | | android:id="@+id/next_step_iv" |
| | | android:layout_width="9dp" |
| | | android:layout_height="15dp" |
| | | android:scaleType="fitCenter" |
| | | android:src="@drawable/next_step" /> |
| | | |
| | | </LinearLayout> |
| | | |
| | | <RelativeLayout |
| | | android:id="@+id/chart_title_rl" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/dp_15" |
| | | android:layout_marginTop="@dimen/dp_36" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/home_page_station_select_time_ll"> |
| | | |
| | | <TextView |
| | | android:id="@+id/unit_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="match_parent" |
| | | android:layout_alignParentStart="true" |
| | | android:text="kW" |
| | | android:textColor="@color/text_40000000" |
| | | 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_marginTop="@dimen/dp_3" |
| | | android:layout_marginEnd="@dimen/dp_3" |
| | | android:layout_toStartOf="@+id/unit_text_tv" |
| | | android:background="@drawable/point_38c494" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/unit_text_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="match_parent" |
| | | android:layout_alignParentEnd="true" |
| | | android:text="PV power generation" |
| | | android:textColor="@color/text_90000000" |
| | | android:textSize="@dimen/text_12" /> |
| | | |
| | | </RelativeLayout> |
| | | |
| | | <com.github.AAChartModel.AAChartCore.AAChartCreator.AAChartView |
| | | android:id="@+id/AAChartView3" |
| | | android:id="@+id/AAChartView" |
| | | android:layout_width="0dp" |
| | | android:layout_height="300dp" |
| | | android:layout_height="284dp" |
| | | android:layout_marginTop="@dimen/dp_18" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/test3" /> |
| | | app:layout_constraintTop_toBottomOf="@+id/chart_title_rl" /> |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:id="@+id/home_page_station_statistics_cl" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="186dp" |
| | | android:layout_marginTop="@dimen/dp_26" |
| | | 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:text="Social Contribution" |
| | | android:textColor="@color/text_90000000" |
| | | 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" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | 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_1" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/social_contribution_data_1_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="13dp" |
| | | 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_90000000" |
| | | android:textSize="@dimen/text_14" |
| | | android:textStyle="bold" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/social_contribution_unit_1_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="9dp" |
| | | 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_90000000" |
| | | android:textSize="@dimen/text_14" |
| | | android:textStyle="bold" |
| | | |
| | | /> |
| | | |
| | | <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_35" |
| | | android:text="ssss" |
| | | android:textColor="@color/text_40000000" |
| | | android:textSize="@dimen/text_14" /> |
| | | |
| | | |
| | | </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" |
| | | 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="13dp" |
| | | 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_90000000" |
| | | android:textSize="@dimen/text_14" |
| | | android:textStyle="bold" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/social_contribution_unit_2_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="9dp" |
| | | 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_90000000" |
| | | android:textSize="@dimen/text_14" |
| | | android:textStyle="bold" |
| | | |
| | | /> |
| | | |
| | | <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_35" |
| | | android:text="ssss" |
| | | android:textColor="@color/text_40000000" |
| | | android:textSize="@dimen/text_14" /> |
| | | |
| | | |
| | | </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="13dp" |
| | | 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_90000000" |
| | | android:textSize="@dimen/text_14" |
| | | android:textStyle="bold" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/social_contribution_unit_3_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="9dp" |
| | | 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_90000000" |
| | | android:textSize="@dimen/text_14" |
| | | android:textStyle="bold" |
| | | |
| | | /> |
| | | |
| | | <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_35" |
| | | android:text="ssss" |
| | | android:textColor="@color/text_40000000" |
| | | android:textSize="@dimen/text_14" /> |
| | | |
| | | |
| | | </RelativeLayout> |
| | | |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | |
| | | <LinearLayout |
| | | android:id="@+id/wwwwww" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="323dp" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/home_page_station_statistics_cl"> |
| | | |
| | | </LinearLayout> |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | |
| | | |