From f50e8e60e9da99e4f69d8ab76810dc7e5fb448bc Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期一, 02 十二月 2024 10:29:09 +0800 Subject: [PATCH] 2024年12月02日10:29:05 --- app/src/main/res/layout/activity_my_power_station.xml | 49 ++++++------------------------------------------- 1 files changed, 6 insertions(+), 43 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 f359a9d..f07e0a6 100644 --- a/app/src/main/res/layout/activity_my_power_station.xml +++ b/app/src/main/res/layout/activity_my_power_station.xml @@ -5,61 +5,24 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/bj" + tools:context="com.hdl.photovoltaic.ui.BPowerStationActivity"> - 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:id="@+id/module_fcv" + android:layout_width="0dp" 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" - android:name="com.hdl.photovoltaic.ui.powerstation.HouseListFragment" - 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_message_fcv2" - android:name="com.hdl.photovoltaic.ui.message.MessageFragment" - 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_me_fcv3" - android:name="com.hdl.photovoltaic.ui.me.MeFragment" - 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" /> <LinearLayout android:id="@+id/my_power_station_bottom_ll" android:layout_width="match_parent" - android:layout_height="@dimen/dp_49" - android:background="@color/text_FFFFFFFF" + android:layout_height="@dimen/dp_64" + android:background="@color/text_FF333738" android:orientation="horizontal" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" -- Gitblit v1.8.0