[android] Use Material switches in preference screens

Signed-off-by: Jean-Baptiste <jeanbaptiste.charron@outlook.fr>
This commit is contained in:
Jean-Baptiste
2025-11-24 22:09:10 +01:00
committed by jeanbaptisteC
parent 3f7dc91b5b
commit eaa56e5127
3 changed files with 15 additions and 8 deletions

View File

@@ -386,14 +386,6 @@
<item name="android:textAllCaps">false</item>
</style>
<style name="MwmWidget.Preference">
<item name="switchPreferenceCompatStyle">@style/MwmWidget.SwitchPreferenceCompat</item>
</style>
<style name="MwmWidget.SwitchPreferenceCompat" parent="Preference.SwitchPreferenceCompat.Material">
<item name="android:widgetLayout">@layout/preference_switch</item>
</style>
<style name="MwmWidget.M3.Button" parent="Widget.Material3.Button">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>