From b1303ee6ba15d8202f7fe95037267feaa4520fc5 Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期日, 28 四月 2024 15:55:48 +0800 Subject: [PATCH] 2024年04月28日15:55:42 --- app/src/main/res/layout/fragment_home_page.xml | 69 +++++++++++++++++++++++++--------- 1 files changed, 50 insertions(+), 19 deletions(-) diff --git a/app/src/main/res/layout/fragment_home_page.xml b/app/src/main/res/layout/fragment_home_page.xml index dc4f322..d500e94 100644 --- a/app/src/main/res/layout/fragment_home_page.xml +++ b/app/src/main/res/layout/fragment_home_page.xml @@ -148,7 +148,7 @@ android:layout_below="@+id/home_page_station_info_rl1_text1_tv" android:layout_alignStart="@+id/home_page_station_info_rl1_text1_tv" android:layout_marginTop="3dp" - android:text="kw.h" /> + android:text="@string/installed_capacity" /> <TextView android:id="@+id/home_page_station_info_rl1_text3_tv" @@ -168,7 +168,7 @@ android:layout_below="@+id/home_page_station_info_rl1_text3_tv" android:layout_alignStart="@+id/home_page_station_info_rl1_text1_tv" android:layout_marginTop="3dp" - android:text="kw.h" /> + android:text="@string/generated_power" /> </RelativeLayout> @@ -194,7 +194,7 @@ android:layout_height="14.5dp" android:layout_marginStart="@dimen/dp_47" android:layout_marginTop="17dp" - android:text="Electricity /kw.h" + android:text="@string/generation" android:textColor="@color/text_191919" android:textSize="@dimen/text_12" /> @@ -260,7 +260,7 @@ android:layout_width="wrap_content" android:layout_height="18dp" android:layout_marginTop="@dimen/dp_25" - android:text="鐐瑰嚮娴嬭瘯" + android:text="@string/energy_generation_statistics" android:textColor="@color/text_90000000" android:textSize="@dimen/text_14" android:textStyle="bold" @@ -340,16 +340,31 @@ app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/home_page_station_select_time_type_ll"> + <!--鍔犲ぇ鐐瑰嚮鐑尯--> + <LinearLayout + android:id="@+id/last_step_click_ll" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:orientation="horizontal"> - <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_16" + android:layout_height="match_parent" /> + + <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_16" + android:layout_height="match_parent" /> + </LinearLayout> <View - android:layout_width="@dimen/dp_32" + android:layout_width="@dimen/dp_16" android:layout_height="match_parent" /> @@ -364,15 +379,31 @@ android:textStyle="bold" /> <View - android:layout_width="@dimen/dp_32" + android:layout_width="@dimen/dp_16" android:layout_height="match_parent" /> + <!--鍔犲ぇ鐐瑰嚮鐑尯--> + <LinearLayout + android:id="@+id/next_step_click_ll" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:orientation="horizontal"> - <ImageView - android:id="@+id/next_step_iv" - android:layout_width="9dp" - android:layout_height="15dp" - android:scaleType="fitCenter" - android:src="@drawable/next_step" /> + <View + android:layout_width="@dimen/dp_16" + 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" /> + + <View + android:layout_width="@dimen/dp_16" + android:layout_height="match_parent" /> + + </LinearLayout> </LinearLayout> @@ -437,7 +468,7 @@ android:id="@+id/social_contribution_title_tv" android:layout_width="wrap_content" android:layout_height="17dp" - android:text="Social Contribution" + android:text="@string/social_contribution" android:textColor="@color/text_90000000" android:textSize="@dimen/text_14" android:textStyle="bold" -- Gitblit v1.8.0