|
68 | 68 | android:animateLayoutChanges="true" |
69 | 69 | android:orientation="vertical"> |
70 | 70 |
|
71 | | - <LinearLayout |
| 71 | + <com.google.android.material.button.MaterialButtonGroup |
| 72 | + style="@style/Widget.Material3.MaterialSplitButton" |
72 | 73 | android:layout_width="match_parent" |
73 | 74 | android:layout_height="wrap_content" |
74 | | - android:orientation="horizontal"> |
| 75 | + android:orientation="horizontal" |
| 76 | + android:layout_marginHorizontal="8dp" |
| 77 | + android:paddingTop="4dp" |
| 78 | + android:paddingBottom="4dp" |
| 79 | + android:gravity="center"> |
75 | 80 |
|
76 | 81 | <com.google.android.material.button.MaterialButton |
77 | 82 | android:id="@+id/toggle_subs" |
78 | | - style="@style/PlayerActionsButton" |
| 83 | + style="?materialButtonElevatedStyle" |
79 | 84 | android:layout_width="0dp" |
80 | 85 | android:layout_height="wrap_content" |
81 | | - android:layout_marginStart="12dp" |
82 | | - android:layout_marginEnd="6dp" |
83 | | - android:layout_marginVertical="6dp" |
84 | 86 | android:layout_weight="1" |
85 | 87 | android:text="@string/subscriptions" |
86 | 88 | android:textAlignment="viewStart" |
87 | | - android:textColor="?colorPrimary" |
88 | | - app:drawableEndCompat="@drawable/ic_arrow_up_down" |
89 | | - app:drawableTint="?colorPrimary" /> |
| 89 | + app:drawableEndCompat="@drawable/ic_arrow_up_down" /> |
90 | 90 |
|
91 | | - <ImageView |
| 91 | + <com.google.android.material.button.MaterialButton |
| 92 | + style="@style/Widget.Material3.Button.IconButton.Elevated" |
92 | 93 | android:id="@+id/filter_sort" |
93 | | - android:layout_width="40dp" |
94 | | - android:layout_height="40dp" |
95 | | - android:layout_gravity="center" |
96 | | - android:layout_marginEnd="7dp" |
97 | | - android:alpha="0.7" |
| 94 | + android:layout_width="wrap_content" |
| 95 | + android:layout_height="wrap_content" |
98 | 96 | android:contentDescription="@string/tooltip_filter" |
99 | | - android:padding="6dp" |
100 | | - android:src="@drawable/ic_filter_sort" /> |
| 97 | + app:icon="@drawable/ic_filter_sort" /> |
101 | 98 |
|
102 | | - </LinearLayout> |
| 99 | + </com.google.android.material.button.MaterialButtonGroup> |
103 | 100 |
|
104 | 101 | <HorizontalScrollView |
105 | 102 | android:id="@+id/channel_groups_container" |
|
0 commit comments