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
|
|
|
|
2023-03-24 15:13:24 +01:00
|
|
|
<SwitchPreferenceCompat
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/SET_CUSTOM_ACCENT"
|
|
|
|
app:singleLineTitle="false"
|
|
|
|
app:summary="@string/set_custom_accent_indication"
|
|
|
|
app:title="@string/set_custom_accent" />
|
|
|
|
|
|
|
|
<com.jaredrummler.android.colorpicker.ColorPreferenceCompat
|
|
|
|
android:dependency="@string/SET_CUSTOM_ACCENT"
|
|
|
|
android:key="@string/SET_CUSTOM_ACCENT_LIGHT_VALUE"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:summary="@string/set_custom_accent_value_light_description"
|
|
|
|
app:title="@string/set_custom_accent_light_value" />
|
|
|
|
|
|
|
|
<com.jaredrummler.android.colorpicker.ColorPreferenceCompat
|
|
|
|
android:dependency="@string/SET_CUSTOM_ACCENT"
|
|
|
|
android:key="@string/SET_CUSTOM_ACCENT_DARK_VALUE"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:summary="@string/set_custom_accent_value_dark_description"
|
|
|
|
app:title="@string/set_custom_accent_dark_value" />
|
|
|
|
|
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
|
|
|
|
2022-12-08 10:20:03 +01:00
|
|
|
|
|
|
|
<SwitchPreferenceCompat
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/SET_CARDVIEW"
|
|
|
|
app:singleLineTitle="false"
|
|
|
|
app:summary="@string/set_cardview_indication"
|
|
|
|
app:title="@string/set_cardview" />
|
|
|
|
|
2022-12-08 18:10:51 +01:00
|
|
|
|
|
|
|
<SwitchPreferenceCompat
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/SET_CUSTOMIZE_LIGHT_COLORS"
|
|
|
|
app:singleLineTitle="false"
|
|
|
|
app:summary="@string/set_customize_light_indication"
|
|
|
|
app:title="@string/set_customize_light" />
|
|
|
|
|
|
|
|
<Preference
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:title="@string/set_custom_colors"
|
|
|
|
app:dependency="@string/SET_CUSTOMIZE_LIGHT_COLORS"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/SET_CUSTOMIZE_LIGHT_COLORS_ACTION" />
|
|
|
|
|
|
|
|
<SwitchPreferenceCompat
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/SET_CUSTOMIZE_DARK_COLORS"
|
|
|
|
app:singleLineTitle="false"
|
|
|
|
app:summary="@string/set_customize_dark_indication"
|
|
|
|
app:title="@string/set_customize_dark" />
|
|
|
|
|
|
|
|
<Preference
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:title="@string/set_custom_colors"
|
|
|
|
app:dependency="@string/SET_CUSTOMIZE_DARK_COLORS"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/SET_CUSTOMIZE_DARK_COLORS_ACTION" />
|
|
|
|
|
2022-12-09 10:01:57 +01:00
|
|
|
<Preference
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:title="@string/reset_color"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/SET_RESET_CUSTOM_COLOR" />
|
2022-04-27 15:20:42 +02:00
|
|
|
</androidx.preference.PreferenceScreen>
|