aboutsummaryrefslogtreecommitdiff
path: root/sample/src/main/res/layout/view_pager.xml
diff options
context:
space:
mode:
Diffstat (limited to 'sample/src/main/res/layout/view_pager.xml')
-rw-r--r--sample/src/main/res/layout/view_pager.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/sample/src/main/res/layout/view_pager.xml b/sample/src/main/res/layout/view_pager.xml
new file mode 100644
index 0000000..6188097
--- /dev/null
+++ b/sample/src/main/res/layout/view_pager.xml
@@ -0,0 +1,20 @@
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" style="@style/fill">
+
+ <RelativeLayout style="@style/footer" android:id="@+id/footer">
+
+ <ImageView style="@style/previousButton" android:id="@+id/previous" android:contentDescription="@string/button.previous"/>
+
+ <ImageView style="@style/nextButton" android:id="@+id/next" android:contentDescription="@string/button.next"/>
+
+ <TextView style="@style/footerNote"
+ android:id="@+id/note"
+ android:layout_toStartOf="@id/next"
+ android:layout_toEndOf="@id/previous"/>
+
+ </RelativeLayout>
+
+ <android.support.v4.view.ViewPager style="@style/mainPanel" android:id="@+id/horizontal_pager" android:visibility="gone" />
+
+ <com.davemorrissey.labs.subscaleview.test.viewpager.VerticalViewPager style="@style/mainPanel" android:id="@+id/vertical_pager" android:visibility="gone"/>
+
+</RelativeLayout>