mirror of
https://github.com/Michatec/Radio.git
synced 2026-04-01 07:56:27 +02:00
style(ui): simplify theme selection dialog radio buttons
This commit is contained in:
@@ -27,9 +27,6 @@
|
|||||||
android:text="@string/pref_theme_selection_mode_device_default"
|
android:text="@string/pref_theme_selection_mode_device_default"
|
||||||
android:textSize="20sp"
|
android:textSize="20sp"
|
||||||
android:padding="12dp"
|
android:padding="12dp"
|
||||||
android:button="@null"
|
|
||||||
android:drawableEnd="?android:attr/listChoiceIndicatorSingle"
|
|
||||||
android:drawablePadding="16dp"
|
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:clickable="true" />
|
android:clickable="true" />
|
||||||
|
|
||||||
@@ -40,9 +37,6 @@
|
|||||||
android:text="@string/pref_theme_selection_mode_light"
|
android:text="@string/pref_theme_selection_mode_light"
|
||||||
android:textSize="20sp"
|
android:textSize="20sp"
|
||||||
android:padding="12dp"
|
android:padding="12dp"
|
||||||
android:button="@null"
|
|
||||||
android:drawableEnd="?android:attr/listChoiceIndicatorSingle"
|
|
||||||
android:drawablePadding="16dp"
|
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:clickable="true" />
|
android:clickable="true" />
|
||||||
|
|
||||||
@@ -53,9 +47,6 @@
|
|||||||
android:text="@string/pref_theme_selection_mode_dark"
|
android:text="@string/pref_theme_selection_mode_dark"
|
||||||
android:textSize="20sp"
|
android:textSize="20sp"
|
||||||
android:padding="12dp"
|
android:padding="12dp"
|
||||||
android:button="@null"
|
|
||||||
android:drawableEnd="?android:attr/listChoiceIndicatorSingle"
|
|
||||||
android:drawablePadding="16dp"
|
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:clickable="true" />
|
android:clickable="true" />
|
||||||
|
|
||||||
|
|||||||
@@ -26,12 +26,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/pref_theme_selection_mode_device_default"
|
android:text="@string/pref_theme_selection_mode_device_default"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
android:padding="8dp"
|
android:padding="8dp"/>
|
||||||
android:button="@null"
|
|
||||||
android:drawableStart="?android:attr/listChoiceIndicatorSingle"
|
|
||||||
android:drawablePadding="12dp"
|
|
||||||
android:focusable="true"
|
|
||||||
android:clickable="true" />
|
|
||||||
|
|
||||||
<RadioButton
|
<RadioButton
|
||||||
android:id="@+id/radio_theme_light"
|
android:id="@+id/radio_theme_light"
|
||||||
@@ -39,12 +34,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/pref_theme_selection_mode_light"
|
android:text="@string/pref_theme_selection_mode_light"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
android:padding="8dp"
|
android:padding="8dp"/>
|
||||||
android:button="@null"
|
|
||||||
android:drawableStart="?android:attr/listChoiceIndicatorSingle"
|
|
||||||
android:drawablePadding="12dp"
|
|
||||||
android:focusable="true"
|
|
||||||
android:clickable="true" />
|
|
||||||
|
|
||||||
<RadioButton
|
<RadioButton
|
||||||
android:id="@+id/radio_theme_dark"
|
android:id="@+id/radio_theme_dark"
|
||||||
@@ -52,12 +42,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/pref_theme_selection_mode_dark"
|
android:text="@string/pref_theme_selection_mode_dark"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
android:padding="8dp"
|
android:padding="8dp"/>
|
||||||
android:button="@null"
|
|
||||||
android:drawableStart="?android:attr/listChoiceIndicatorSingle"
|
|
||||||
android:drawablePadding="12dp"
|
|
||||||
android:focusable="true"
|
|
||||||
android:clickable="true" />
|
|
||||||
|
|
||||||
</RadioGroup>
|
</RadioGroup>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user