| | |
| | | <data> |
| | | <variable |
| | | name="viewModel" |
| | | type="com.application.zhangshi_app_android.module.home.HomeFragmentViewModel" /> |
| | | 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" |
| | | > |
| | | <FrameLayout |
| | | android:layout_width="24dp" |
| | | android:layout_height="24dp" |
| | | android:layout_marginHorizontal="16dp" |
| | | android:layout_gravity="center_vertical|end" |
| | | > |
| | | <ImageView |
| | | 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> |
| | | |
| | | <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" |
| | | > |
| | | |
| | | <com.application.zhangshi_app_android.widget.HomeMindMapLayout |
| | | android:id="@+id/scrollHomeMindMapLayout" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | /> |
| | | |
| | | </com.otaliastudios.zoom.ZoomLayout> |
| | | |
| | | </LinearLayout> |
| | | </layout> |