1
|
<?xml version="1.0" encoding="utf-8"?>
|
2
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
3
|
android:layout_width="match_parent"
|
4
|
android:layout_height="match_parent"
|
5
|
android:layout_weight="1"
|
6
|
android:orientation="vertical" >
|
7
|
|
8
|
<android.support.design.widget.TabLayout
|
9
|
android:id="@+id/sliding_tabs"
|
10
|
android:layout_width="match_parent"
|
11
|
android:layout_height="32dp"
|
12
|
android:theme="@style/Theme.AppCompat.NoActionBar">
|
13
|
</android.support.design.widget.TabLayout>
|
14
|
|
15
|
<android.support.v4.view.ViewPager
|
16
|
android:id="@+id/viewpager"
|
17
|
android:layout_width="match_parent"
|
18
|
android:layout_height="0dp"
|
19
|
android:layout_weight="1"
|
20
|
android:background="@android:color/black" />
|
21
|
|
22
|
</LinearLayout>
|