Use a list for night themes

Also remove unused strings
This commit is contained in:
bopol 2020-10-11 13:16:22 +02:00 committed by Stypox
parent 22b2f52f8c
commit a85e8a29ff
No known key found for this signature in database
GPG key ID: 4BDF1B40A49FDD23
7 changed files with 116 additions and 78 deletions

View file

@ -12,11 +12,13 @@
android:title="@string/theme_title"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
android:defaultValue="false"
android:key="@string/use_device_theme_key"
android:summary="@string/follow_device_theme_summary"
android:title="@string/follow_device_theme_title"
<ListPreference
android:defaultValue="@string/default_night_theme_value"
android:entries="@array/night_theme_description_list"
android:entryValues="@array/night_theme_values_list"
android:key="@string/night_theme_key"
android:summary="@string/night_theme_summary"
android:title="@string/night_theme_title"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat