1
0
Fork 0

added 'automatic dark theme' option

This commit is contained in:
sspanak 2023-08-01 17:46:47 +03:00 committed by Dimo Karaivanov
parent 0190e84053
commit 9f65cb5ce8
19 changed files with 178 additions and 40 deletions

View file

@ -1,10 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto" app:orderingFromXml="true">
<SwitchPreferenceCompat
app:defaultValue="true"
app:key="pref_dark_theme"
app:layout="@layout/pref_switch"
<DropDownPreference
app:defaultValue="-1"
app:iconSpaceReserved="false"
app:key="pref_theme"
app:layout="@layout/pref_dropdown"
app:title="@string/pref_dark_theme" />
<SwitchPreferenceCompat