Implement theme customization

Implement the ability to change the theme to auto/light/dark.
This commit is contained in:
OxygenCobalt
2020-11-28 16:17:54 -07:00
parent 76c1fe1d75
commit 2dc7ba3420
16 changed files with 297 additions and 79 deletions
+15
View File
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<PreferenceCategory
android:title="@string/label_settings_ui"
android:layout="@layout/item_prefs_header">
<ListPreference
app:key="KEY_THEME"
android:title="@string/label_settings_theme"
android:icon="@drawable/ic_day"
android:entries="@array/theme_entries"
android:entryValues="@array/theme_values"
app:useSimpleSummaryProvider="true" />
</PreferenceCategory>
</PreferenceScreen>