Project

General

Profile

Download (958 Bytes) Statistics
| Branch: | Tag: | Revision:

magiccube / src / main / res / layout / dialog_tabbed.xml @ 99b8a069

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 8d1da3f1 Leszek Koltunski
        app:tabBackground="@drawable/tab_background"
17 44bdd3fb Leszek Koltunski
        app:tabMode="scrollable"
18 8d1da3f1 Leszek Koltunski
        app:tabMinWidth="25dp"
19
        app:tabGravity="fill">
20 66e777b0 Leszek Koltunski
    </com.google.android.material.tabs.TabLayout>
21 fdec60a3 Leszek Koltunski
22 66e777b0 Leszek Koltunski
    <androidx.viewpager.widget.ViewPager
23 fdec60a3 Leszek Koltunski
        android:id="@+id/viewpager"
24
        android:layout_width="match_parent"
25
        android:layout_height="0dp"
26
        android:layout_weight="1"
27
        android:background="@android:color/black" />
28
29
</LinearLayout>