Revision 44bdd3fb
Added by Leszek Koltunski over 4 years ago
src/main/res/layout/dialog_tabbed.xml | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="utf-8"?> |
2 |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
2 |
<LinearLayout |
|
3 |
|
|
4 |
xmlns:android="http://schemas.android.com/apk/res/android" |
|
5 |
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
6 |
|
|
3 | 7 |
android:layout_width="match_parent" |
4 | 8 |
android:layout_height="match_parent" |
5 | 9 |
android:layout_weight="1" |
6 |
android:orientation="vertical" >
|
|
10 |
android:orientation="vertical"> |
|
7 | 11 |
|
8 | 12 |
<com.google.android.material.tabs.TabLayout |
9 | 13 |
android:id="@+id/sliding_tabs" |
10 |
android:layout_width="match_parent"
|
|
14 |
android:layout_width="wrap_content"
|
|
11 | 15 |
android:layout_height="wrap_content" |
12 |
android:theme="@style/Theme.AppCompat.NoActionBar"> |
|
16 |
android:theme="@style/Theme.AppCompat.NoActionBar" |
|
17 |
app:tabMode="scrollable" |
|
18 |
app:tabMinWidth="20dp" |
|
19 |
app:tabGravity="fill" |
|
20 |
> |
|
13 | 21 |
</com.google.android.material.tabs.TabLayout> |
14 | 22 |
|
15 | 23 |
<androidx.viewpager.widget.ViewPager |
Also available in: Unified diff
Fix the fact that now there are too many tabs in the Scores dialog - make the tabs SCROLLABLE.