Messaging: Style the SwitchPreferences

Use the newer style of A15

Change-Id: I75a0e54f70f837d21d3aaa746f2e0ec7af226eda
This commit is contained in:
Michael W
2024-12-26 15:54:35 +01:00
parent 1914db5ea4
commit 5ed268cee1
6 changed files with 33 additions and 8 deletions
+10
View File
@@ -35,6 +35,7 @@
<item name="android:textColorHighlight">@color/text_highlight_color</item>
<item name="actionBarStyle">@style/BugleActionBar</item>
<item name="alertDialogTheme">@style/AlertDialogTheme</item>
<item name="preferenceTheme">@style/AppPreferenceThemeOverlay</item>
</style>
<style name="LaunchTheme" parent="Theme.AppCompat.DayNight.DarkActionBar">
@@ -638,4 +639,13 @@
<item name="android:background">@color/window_background</item>
<item name="dialogCornerRadius">28dp</item>
</style>
<style name="AppPreferenceThemeOverlay" parent="@style/PreferenceThemeOverlay">
<item name="switchPreferenceCompatStyle">@style/AppSwitchPreference</item>
</style>
<style name="AppSwitchPreference" parent="@style/Preference.SwitchPreferenceCompat.Material">
<item name="widgetLayout">@layout/preference_material_switch</item>
</style>
</resources>