1 |
fdec60a3
|
Leszek Koltunski
|
<?xml version="1.0" encoding="utf-8"?>
|
2 |
44bdd3fb
|
Leszek Koltunski
|
<LinearLayout
|
3 |
|
|
|
4 |
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
5 |
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
6 |
|
|
|
7 |
fdec60a3
|
Leszek Koltunski
|
android:layout_width="match_parent"
|
8 |
|
|
android:layout_height="match_parent"
|
9 |
|
|
android:layout_weight="1"
|
10 |
44bdd3fb
|
Leszek Koltunski
|
android:orientation="vertical">
|
11 |
fdec60a3
|
Leszek Koltunski
|
|
12 |
66e777b0
|
Leszek Koltunski
|
<com.google.android.material.tabs.TabLayout
|
13 |
fdec60a3
|
Leszek Koltunski
|
android:id="@+id/sliding_tabs"
|
14 |
44bdd3fb
|
Leszek Koltunski
|
android:layout_width="wrap_content"
|
15 |
52d0a923
|
Leszek Koltunski
|
android:layout_height="wrap_content"
|
16 |
44bdd3fb
|
Leszek Koltunski
|
android:theme="@style/Theme.AppCompat.NoActionBar"
|
17 |
|
|
app:tabMode="scrollable"
|
18 |
|
|
app:tabMinWidth="20dp"
|
19 |
|
|
app:tabGravity="fill"
|
20 |
|
|
>
|
21 |
66e777b0
|
Leszek Koltunski
|
</com.google.android.material.tabs.TabLayout>
|
22 |
fdec60a3
|
Leszek Koltunski
|
|
23 |
66e777b0
|
Leszek Koltunski
|
<androidx.viewpager.widget.ViewPager
|
24 |
fdec60a3
|
Leszek Koltunski
|
android:id="@+id/viewpager"
|
25 |
|
|
android:layout_width="match_parent"
|
26 |
|
|
android:layout_height="0dp"
|
27 |
|
|
android:layout_weight="1"
|
28 |
|
|
android:background="@android:color/black" />
|
29 |
|
|
|
30 |
|
|
</LinearLayout>
|