PlayerAndroid/app/src/main/res/xml/pref_general.xml

72 lines
3.6 KiB
XML
Raw Normal View History

2018-07-27 13:07:33 +00:00
<?xml version="1.0" encoding="utf-8"?>
2018-08-30 09:29:30 +00:00
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
2019-09-17 19:36:13 +00:00
<code.name.monkey.appthemehelper.common.prefs.supportv7.ATEPreferenceCategory
android:layout="@layout/preference_category_title"
android:title="@string/pref_header_general">
2019-11-04 18:43:54 +00:00
2020-05-24 18:04:50 +00:00
<code.name.monkey.appthemehelper.common.prefs.supportv7.ATEListPreference
2020-05-16 17:01:31 +00:00
android:defaultValue="auto"
2018-07-27 13:07:33 +00:00
android:entries="@array/pref_general_theme_list_titles"
android:entryValues="@array/pref_general_theme_list_values"
android:key="general_theme"
2019-11-04 18:43:54 +00:00
android:layout="@layout/list_item_view"
2020-05-24 18:04:50 +00:00
android:negativeButtonText="@null"
android:positiveButtonText="@null"
2018-08-30 09:29:30 +00:00
android:title="@string/pref_title_general_theme"
2020-07-19 21:00:30 +00:00
app:icon="@drawable/ic_color_lens" />
2019-09-28 17:52:49 +00:00
<code.name.monkey.appthemehelper.common.prefs.supportv7.ATESwitchPreference
android:dependency="material_you"
2019-09-28 17:52:49 +00:00
android:key="black_theme"
2019-11-04 18:43:54 +00:00
android:layout="@layout/list_item_view_switch_no_title"
2020-01-06 05:34:09 +00:00
android:title="@string/black_theme_name" />
2019-09-28 17:52:49 +00:00
<code.name.monkey.appthemehelper.common.prefs.supportv7.ATESwitchPreference
2021-10-06 11:26:53 +00:00
android:defaultValue="@bool/md3_enabled"
android:disableDependentsState="true"
android:key="material_you"
android:layout="@layout/list_item_view_switch_no_title"
android:title="@string/pref_title_md3"
app:isPreferenceVisible="@bool/md3_available" />
2018-07-27 13:07:33 +00:00
</code.name.monkey.appthemehelper.common.prefs.supportv7.ATEPreferenceCategory>
2020-07-28 19:18:34 +00:00
2019-07-30 20:20:01 +00:00
<code.name.monkey.appthemehelper.common.prefs.supportv7.ATEPreferenceCategory
android:key="category_color"
2019-09-28 17:52:49 +00:00
android:layout="@layout/preference_category_title"
2019-07-30 20:20:01 +00:00
android:title="@string/colors">
2019-10-12 06:41:48 +00:00
<code.name.monkey.appthemehelper.common.prefs.supportv7.ATEColorPreference
android:dependency="material_you"
android:key="accent_color"
2020-01-28 17:47:48 +00:00
android:layout="@layout/list_item_color_view"
android:persistent="false"
android:summary="@string/accent_color_desc"
android:title="@string/accent_color"
2020-07-19 21:00:30 +00:00
app:icon="@drawable/ic_colorize" />
2018-08-30 09:29:30 +00:00
2019-10-12 06:41:48 +00:00
<code.name.monkey.appthemehelper.common.prefs.supportv7.ATESwitchPreference
android:defaultValue="false"
android:dependency="material_you"
2019-10-12 06:41:48 +00:00
android:key="desaturated_color"
2019-11-04 18:43:54 +00:00
android:layout="@layout/list_item_view_switch"
2019-11-04 16:26:18 +00:00
android:summary="@string/pref_summary_desaturated_color"
2020-01-06 05:34:09 +00:00
android:title="@string/pref_title_desaturated_color" />
2019-10-12 06:41:48 +00:00
2018-07-27 13:07:33 +00:00
<code.name.monkey.appthemehelper.common.prefs.supportv7.ATESwitchPreference
android:defaultValue="false"
android:key="adaptive_color_app"
2019-11-04 18:43:54 +00:00
android:layout="@layout/list_item_view_switch"
2018-07-27 13:07:33 +00:00
android:summary="@string/pref_summary_colored_app"
2020-01-06 05:34:09 +00:00
android:title="@string/pref_title_colored_app" />
2018-08-30 09:29:30 +00:00
2018-07-27 13:07:33 +00:00
<code.name.monkey.appthemehelper.common.prefs.supportv7.ATESwitchPreference
android:defaultValue="false"
android:dependency="material_you"
2018-07-27 13:07:33 +00:00
android:key="should_color_app_shortcuts"
2019-11-04 18:43:54 +00:00
android:layout="@layout/list_item_view_switch"
2018-07-27 13:07:33 +00:00
android:summary="@string/pref_summary_colored_app_shortcuts"
2020-01-06 05:34:09 +00:00
android:title="@string/pref_title_app_shortcuts" />
2018-07-27 13:07:33 +00:00
</code.name.monkey.appthemehelper.common.prefs.supportv7.ATEPreferenceCategory>
2018-08-30 09:29:30 +00:00
</androidx.preference.PreferenceScreen>