Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // fragment Image
- <androidx.coordinatorlayout.widget.CoordinatorLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:fitsSystemWindows="false">
- <androidx.viewpager2.widget.ViewPager2
- android:id="@+id/view_pager"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:fitsSystemWindows="false"/>
- </androidx.coordinatorlayout.widget.CoordinatorLayout>
- // Item Image
- <androidx.constraintlayout.widget.ConstraintLayout
- android:id="@+id/item_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/colorTransparent"
- android:clickable="true"
- android:focusable="true"
- android:fitsSystemWindows="false">
- <ImageView
- android:id="@+id/image_view"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:adjustViewBounds="true"
- android:fitsSystemWindows="false"
- android:scaleType="fitCenter"/>
- </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement