Use MD3 switches

This commit is contained in:
Torsten Grote
2024-05-27 13:52:17 -03:00
parent d5f920e9b9
commit 03196b65ab
5 changed files with 19 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<resources xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
<style name="BriarToolbar" parent="Widget.Material3.Toolbar">
<item name="android:background">@color/briar_primary</item>
@@ -163,4 +163,10 @@
<item name="srcCompat">@drawable/ic_check_white</item>
</style>
<style name="Preference.SwitchPreferenceCompat"
parent="@style/Preference.SwitchPreferenceCompat.Material"
tools:ignore="ResourceCycle">
<item name="widgetLayout">@layout/preference_switch</item>
</style>
</resources>