Linjiajia
2023-04-24 fcdddf8b9b34f9930bec454b5fffe41c0e33ba3c
app/src/main/res/layout/fragment_home.xml
@@ -9,9 +9,60 @@
            type="com.application.zhangshi_app_android.ui.home.HomeFragmentViewModel" />
    </data>
    <androidx.constraintlayout.widget.ConstraintLayout
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"
        >
    </androidx.constraintlayout.widget.ConstraintLayout>
        <com.android.app_base.widget.ExtendTitleBar
            android:id="@+id/titleBar"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:title="家根网(仅供查看)"
            app:titleGravity="left" />
        <androidx.constraintlayout.widget.ConstraintLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            >
            <com.application.zhangshi_app_android.widget.TreeView
                android:id="@+id/treeView"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                />
            <androidx.constraintlayout.widget.ConstraintLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:visibility="gone"
                android:id="@+id/layout_home_root_net"
                >
                <ImageView
                    android:id="@+id/iv_treeView"
                    android:layout_width="match_parent"
                    android:layout_height="0dp"
                    app:layout_constraintDimensionRatio="360:417"
                    android:background="@drawable/bg_home_root_net"
                    app:layout_constraintBottom_toBottomOf="parent" />
                <ImageView
                    android:layout_width="match_parent"
                    android:layout_height="0dp"
                    android:background="@drawable/bg_home_root_net_grass"
                    app:layout_constraintBottom_toBottomOf="@id/iv_treeView"
                    app:layout_constraintDimensionRatio="350:217"
                    android:layout_marginBottom="-56dp"
                    />
            </androidx.constraintlayout.widget.ConstraintLayout>
            <androidx.recyclerview.widget.RecyclerView
                android:id="@+id/rv_home_member"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:visibility="gone"
                />
        </androidx.constraintlayout.widget.ConstraintLayout>
    </LinearLayout>
</layout>