aboutsummaryrefslogtreecommitdiff
path: root/old_native_project/res/layout/activity_main.xml
diff options
context:
space:
mode:
Diffstat (limited to 'old_native_project/res/layout/activity_main.xml')
-rwxr-xr-xold_native_project/res/layout/activity_main.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/old_native_project/res/layout/activity_main.xml b/old_native_project/res/layout/activity_main.xml
new file mode 100755
index 0000000..6cfef6f
--- /dev/null
+++ b/old_native_project/res/layout/activity_main.xml
@@ -0,0 +1,23 @@
+<android.support.v4.view.ViewPager xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:id="@+id/pager"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ tools:context=".MainActivity" >
+
+ <!--
+ This title strip will display the currently visible page title, as well as the page
+ titles for adjacent pages.
+ -->
+
+ <android.support.v4.view.PagerTitleStrip
+ android:id="@+id/pager_title_strip"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="top"
+ android:background="#33b5e5"
+ android:paddingBottom="4dp"
+ android:paddingTop="4dp"
+ android:textColor="#fff" />
+
+</android.support.v4.view.ViewPager>