diff options
Diffstat (limited to 'templates/activities/BlankActivity/root/res/layout/activity_pager.xml.ftl')
-rw-r--r-- | templates/activities/BlankActivity/root/res/layout/activity_pager.xml.ftl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/activities/BlankActivity/root/res/layout/activity_pager.xml.ftl b/templates/activities/BlankActivity/root/res/layout/activity_pager.xml.ftl new file mode 100644 index 0000000..c8f1604 --- /dev/null +++ b/templates/activities/BlankActivity/root/res/layout/activity_pager.xml.ftl @@ -0,0 +1,22 @@ +<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=".${activityClass}"<#if navType != "pager_strip"> /><#else>> + + <!-- + 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:textColor="#fff" + android:paddingTop="4dp" + android:paddingBottom="4dp" /> + +</android.support.v4.view.ViewPager> +</#if> |