1
<android.support.v4.view.ViewPager xmlns:android="http://schemas.android.com/apk/res/android"
2
xmlns:tools="http://schemas.android.com/tools"
3
android:id="@+id/pager"
4
android:layout_width="match_parent"
5
android:layout_height="match_parent"
6
tools:context=".MainActivity">
9
This title strip will display the currently visible page title, as well as the page
10
titles for adjacent pages.
13
<android.support.v4.view.PagerTitleStrip
14
android:id="@+id/pager_title_strip"
15
android:layout_width="match_parent"
16
android:layout_height="wrap_content"
17
android:layout_gravity="top"
18
android:background="#33b5e5"
19
android:paddingBottom="4dp"
20
android:paddingTop="4dp"
21
android:textColor="#fff" />
23
</android.support.v4.view.ViewPager>