wjc
2 天以前 ac7e902dca62fe00f442094a751048a802d13f90
app/src/main/res/layout/activity_my_power_station.xml
@@ -4,74 +4,70 @@
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/text_F9FAFB"
    tools:context="com.hdl.photovoltaic.ui.MyPowerStationActivity">
    android:background="@color/text_FF000000"
    tools:context="com.hdl.photovoltaic.ui.BPowerStationActivity">
    <!--电站列表-Fragment-->
    <!--(首页-电站-消息-我的)-Fragment-->
    <androidx.fragment.app.FragmentContainerView
        android:id="@+id/module_fcv"
        android:layout_width="0dp"
        android:layout_height="0dp"
        app:layout_constraintBottom_toTopOf="@+id/ll"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />
        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:id="@+id/ll"
        android:layout_width="match_parent"
        android:layout_height="@dimen/dp_49"
        android:background="@color/text_FFFFFFFF"
        android:orientation="horizontal"
        android:layout_height="@dimen/dp_64"
        android:background="@color/text_FF1C1C1E"
        android:orientation="vertical"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent">
        <!--电站-标签-->
        <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" />
        <View
            android:layout_width="match_parent"
            android:layout_height="0.5dp"
            android:background="@color/text_1AFFFFFF" />
        <!--        <View-->
        <!--            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" />
        <LinearLayout
            android:id="@+id/my_power_station_bottom_ll"
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_weight="1"
            android:orientation="horizontal">
            <!--首页-模块-->
            <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" />
            <!--        <View-->
            <!--            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" />
        </LinearLayout>
    </LinearLayout>