2022-04-27 15:20:42 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
|
2022-11-29 15:18:46 +01:00
|
|
|
<ListPreference
|
|
|
|
app:defaultValue="SYSTEM"
|
|
|
|
app:dialogTitle="@string/type_of_theme"
|
|
|
|
app:entries="@array/set_theme_mode_value"
|
|
|
|
app:entryValues="@array/SET_THEME_MODE_VALUE"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/SET_THEME_BASE"
|
|
|
|
app:title="@string/type_of_theme"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
|
2022-04-27 15:20:42 +02:00
|
|
|
|
2022-11-30 11:00:53 +01:00
|
|
|
<SwitchPreferenceCompat
|
|
|
|
app:defaultValue="false"
|
2022-04-27 15:20:42 +02:00
|
|
|
app:iconSpaceReserved="false"
|
2022-11-30 11:00:53 +01:00
|
|
|
app:key="@string/SET_DYNAMICCOLOR"
|
|
|
|
app:singleLineTitle="false"
|
|
|
|
app:summary="@string/set_dynamic_color_indication"
|
|
|
|
app:title="@string/set_dynamic_color" />
|
2022-04-27 15:20:42 +02:00
|
|
|
|
2022-11-30 11:00:53 +01:00
|
|
|
<ListPreference
|
|
|
|
app:defaultValue="LIGHT"
|
|
|
|
app:dialogTitle="@string/type_default_theme_light"
|
|
|
|
app:entries="@array/set_default_theme_light"
|
|
|
|
app:entryValues="@array/SET_DEFAULT_THEME_LIGHT"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/SET_THEME_DEFAULT_LIGHT"
|
|
|
|
app:title="@string/type_default_theme_light"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
2022-04-27 15:20:42 +02:00
|
|
|
|
2022-11-30 11:00:53 +01:00
|
|
|
<ListPreference
|
|
|
|
app:defaultValue="DARK"
|
|
|
|
app:dialogTitle="@string/type_default_theme_dark"
|
|
|
|
app:entries="@array/set_default_theme_dark"
|
|
|
|
app:entryValues="@array/SET_THEME_DEFAULT_DARK"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/SET_THEME_DEFAULT_DARK"
|
2022-12-01 18:26:46 +01:00
|
|
|
app:title="@string/type_default_theme_dark"
|
2022-11-30 11:00:53 +01:00
|
|
|
app:useSimpleSummaryProvider="true" />
|
2022-04-27 15:20:42 +02:00
|
|
|
|
|
|
|
</androidx.preference.PreferenceScreen>
|