summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/pager_fragment.xml
diff options
context:
space:
mode:
authorJoe Robinson <joe@lc8n.com>2019-04-20 19:56:15 +0200
committerJoe Robinson <joe@lc8n.com>2019-04-20 19:56:15 +0200
commit8322d7cf510b22ee20d310013ec71dd4f39442bb (patch)
tree2f2366ff083dcbe739d478f704a5d4e91b292039 /app/src/main/res/layout/pager_fragment.xml
parent3075e6acb5c29434b2d7be0c6ad7747a6358f045 (diff)
Added Image Pager
Diffstat (limited to 'app/src/main/res/layout/pager_fragment.xml')
-rw-r--r--app/src/main/res/layout/pager_fragment.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/app/src/main/res/layout/pager_fragment.xml b/app/src/main/res/layout/pager_fragment.xml
new file mode 100644
index 0000000..756b29a
--- /dev/null
+++ b/app/src/main/res/layout/pager_fragment.xml
@@ -0,0 +1,20 @@
+<?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"
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:id="@+id/gallery_fragment">
+ <androidx.viewpager2.widget.ViewPager2
+ android:id="@+id/image_pager"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+
+ />
+
+</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file