1 <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
2 xmlns:app="http://schemas.android.com/apk/res-auto"
3 android:layout_width="match_parent"
4 android:layout_height="match_parent">
6 <android.support.design.widget.AppBarLayout
7 android:layout_width="match_parent"
8 android:layout_height="wrap_content"
9 android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
11 <android.support.design.widget.TabLayout
12 android:id="@+id/tabs"
13 android:layout_width="match_parent"
14 android:layout_height="wrap_content"
15 app:tabMode="scrollable"
17 </android.support.design.widget.AppBarLayout>
19 <android.support.v4.view.ViewPager
20 android:id="@+id/viewpager"
21 android:layout_width="match_parent"
22 android:layout_height="match_parent"
23 app:layout_behavior="@string/appbar_scrolling_view_behavior" />
24 </android.support.design.widget.CoordinatorLayout>