2021-02-08 18:41:49 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2023-03-07 12:23:13 +01:00
|
|
|
<resources>
|
|
|
|
<!-- Workaround for AndroidX PreferenceScreen since it doesn't use MaterialAlertDialogs -->
|
|
|
|
<style name="ThemeOverlay.App.MaterialAlertDialog" parent="ThemeOverlay.Material3.MaterialAlertDialog">
|
|
|
|
<item name="dialogCornerRadius">28dp</item>
|
2021-02-08 18:41:49 +01:00
|
|
|
<item name="cornerFamily">rounded</item>
|
2023-03-07 12:23:13 +01:00
|
|
|
<item name="android:colorBackground">?attr/colorSurface</item>
|
2022-01-21 19:25:46 +01:00
|
|
|
</style>
|
|
|
|
|
2023-03-07 12:23:13 +01:00
|
|
|
<!-- Override of the MD3 Chip style to make text all caps -->
|
|
|
|
<style name="ChipChoice" parent="Widget.Material3.Chip.Filter.Elevated">
|
2021-02-08 18:41:49 +01:00
|
|
|
<item name="android:textAllCaps">true</item>
|
2022-07-30 12:46:54 +02:00
|
|
|
</style>
|
2023-03-07 12:34:24 +01:00
|
|
|
|
|
|
|
<!-- Override the default switch preference style to use the MD3 switch -->
|
|
|
|
<style name="App.Preference.SwitchPreferenceCompat.Material3" parent="Preference.SwitchPreferenceCompat.Material">
|
|
|
|
<item name="android:widgetLayout">@layout/preference_widget_material_switch</item>
|
|
|
|
</style>
|
2019-06-29 02:35:14 +02:00
|
|
|
</resources>
|