Linjiajia
2023-10-07 31b7700b976a46901f67c5d7a00281ca4745fc9f
app/src/main/res/layout/fragment_home.xml
@@ -20,49 +20,60 @@
            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"
            app:titleGravity="left"
            >
            <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"
            <FrameLayout
                android:layout_width="24dp"
                android:layout_height="24dp"
                android:layout_marginHorizontal="16dp"
                android:layout_gravity="center_vertical|end"
                >
                <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"
                    android:id="@+id/iv_operate"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center"
                    android:background="@drawable/ic_operate"
                    />
            </FrameLayout>
        </com.android.app_base.widget.ExtendTitleBar>
            </androidx.constraintlayout.widget.ConstraintLayout>
        <com.otaliastudios.zoom.ZoomLayout
            android:id="@+id/zoomLayout"
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_weight="1"
            android:scrollbars="vertical|horizontal"
            app:transformation="centerInside"
            app:transformationGravity="auto"
            app:alignment="center"
            app:overScrollHorizontal="true"
            app:overScrollVertical="true"
            app:overPinchable="true"
            app:horizontalPanEnabled="true"
            app:verticalPanEnabled="true"
            app:zoomEnabled="true"
            app:flingEnabled="true"
            app:scrollEnabled="true"
            app:oneFingerScrollEnabled="true"
            app:twoFingersScrollEnabled="true"
            app:threeFingersScrollEnabled="true"
            app:minZoom="1"
            app:minZoomType="zoom"
            app:maxZoom="2.5"
            app:maxZoomType="realZoom"
            app:animationDuration="280"
            app:hasClickableChildren="true"
            android:background="@color/color_normal_background"
            >
            <androidx.recyclerview.widget.RecyclerView
                android:id="@+id/rv_home_member"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:visibility="gone"
            <com.application.zhangshi_app_android.widget.HomeMindMapLayout
                android:id="@+id/scrollHomeMindMapLayout"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                />
        </androidx.constraintlayout.widget.ConstraintLayout>
        </com.otaliastudios.zoom.ZoomLayout>
    </LinearLayout>
</layout>