From 43c0a28db7e43959561036dbde0eb5cb37a7e324 Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期五, 10 五月 2024 18:25:40 +0800 Subject: [PATCH] 2024年05月10日18:25:29 --- app/src/main/res/layout/activity_my_power_station.xml | 30 ++++++++++++++++++++++++------ 1 files changed, 24 insertions(+), 6 deletions(-) diff --git a/app/src/main/res/layout/activity_my_power_station.xml b/app/src/main/res/layout/activity_my_power_station.xml index 50ed6b0..c4ff53b 100644 --- a/app/src/main/res/layout/activity_my_power_station.xml +++ b/app/src/main/res/layout/activity_my_power_station.xml @@ -4,10 +4,22 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@color/text_F9FAFB" + android:background="@drawable/bj" tools:context="com.hdl.photovoltaic.ui.MyPowerStationActivity"> - <!--鐢电珯鍒楄〃-Fragment--> + <!--棣栭〉-Fragment--> + <androidx.fragment.app.FragmentContainerView + + android:id="@+id/my_home_page_fcv0" + android:name="com.hdl.photovoltaic.ui.home.HomePageFragment" + android:layout_width="match_parent" + android:layout_height="0dp" + android:visibility="gone" + app:layout_constraintBottom_toTopOf="@+id/my_power_station_bottom_ll" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> + <!--鐢电珯-Fragment--> <androidx.fragment.app.FragmentContainerView android:id="@+id/my_power_station_fcv1" @@ -19,7 +31,7 @@ app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> - <!--娑堟伅-Fragment--> + <!--鎶ヨ-Fragment--> <androidx.fragment.app.FragmentContainerView android:id="@+id/my_message_fcv2" android:name="com.hdl.photovoltaic.ui.message.MessageFragment" @@ -51,13 +63,19 @@ app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent"> - <!--鐢电珯-鏍囩--> + <!--棣栭〉-妯″潡--> + <include + android:id="@+id/my_power_station_bottom_il0" + layout="@layout/home_bottom_line" + + /> + <!--鐢电珯-妯″潡--> <include android:id="@+id/my_power_station_bottom_il1" layout="@layout/home_bottom_line" /> - <!--娑堟伅--> + <!--鎶ヨ-妯″潡--> <include android:id="@+id/my_message_bottom_il2" layout="@layout/home_bottom_line" /> @@ -66,7 +84,7 @@ <!-- android:layout_width="@dimen/dp_1"--> <!-- android:layout_height="@dimen/dp_17"--> <!-- android:background="@color/text_CBCDD1" />--> - <!--鎴戠殑-鏍囩--> + <!--鎴戠殑-妯″潡--> <include android:id="@+id/my_me_bottom_il3" layout="@layout/home_bottom_line" /> -- Gitblit v1.8.0