<?xml version="1.0" encoding="utf-8"?>
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:tools="http://schemas.android.com/tools"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="@color/text_F9FAFB"
|
tools:context=".ui.home.MyPowerStationActivity">
|
|
<!--我的电站-Fragment-->
|
<androidx.fragment.app.FragmentContainerView
|
|
android:id="@+id/my_power_station_fcv1"
|
android:name="com.example.photovoltaic.ui.home.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_power_station_fcv2"
|
android:name="com.example.photovoltaic.ui.home.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:gravity="center"
|
android:orientation="horizontal"
|
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" />
|
|
|
<View
|
android:layout_width="@dimen/dp_1"
|
android:layout_height="@dimen/dp_17"
|
android:background="@color/text_CBCDD1" />
|
<!--我的-标签-->
|
<include
|
android:id="@+id/my_power_station_bottom_il2"
|
layout="@layout/home_bottom_line" />
|
|
|
</LinearLayout>
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|