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

72 lines
3.6 KiB
XML
Executable File

<?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">
<code.name.monkey.appthemehelper.common.prefs.supportv7.ATEPreferenceCategory
android:layout="@layout/preference_category_title"
android:title="@string/pref_header_general">
<code.name.monkey.appthemehelper.common.prefs.supportv7.ATEListPreference
android:defaultValue="auto"
android:entries="@array/pref_general_theme_list_titles"
android:entryValues="@array/pref_general_theme_list_values"
android:key="general_theme"
android:layout="@layout/list_item_view"
android:negativeButtonText="@null"
android:positiveButtonText="@null"
android:title="@string/pref_title_general_theme"
app:icon="@drawable/ic_color_lens" />
<code.name.monkey.appthemehelper.common.prefs.supportv7.ATESwitchPreference
android:dependency="material_you"
android:key="black_theme"
android:layout="@layout/list_item_view_switch_no_title"
android:title="@string/black_theme_name" />
<code.name.monkey.appthemehelper.common.prefs.supportv7.ATESwitchPreference
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" />
</code.name.monkey.appthemehelper.common.prefs.supportv7.ATEPreferenceCategory>
<code.name.monkey.appthemehelper.common.prefs.supportv7.ATEPreferenceCategory
android:key="category_color"
android:layout="@layout/preference_category_title"
android:title="@string/colors">
<code.name.monkey.appthemehelper.common.prefs.supportv7.ATEColorPreference
android:dependency="material_you"
android:key="accent_color"
android:layout="@layout/list_item_color_view"
android:persistent="false"
android:summary="@string/accent_color_desc"
android:title="@string/accent_color"
app:icon="@drawable/ic_colorize" />
<code.name.monkey.appthemehelper.common.prefs.supportv7.ATESwitchPreference
android:defaultValue="false"
android:dependency="material_you"
android:key="desaturated_color"
android:layout="@layout/list_item_view_switch"
android:summary="@string/pref_summary_desaturated_color"
android:title="@string/pref_title_desaturated_color" />
<code.name.monkey.appthemehelper.common.prefs.supportv7.ATESwitchPreference
android:defaultValue="false"
android:key="adaptive_color_app"
android:layout="@layout/list_item_view_switch"
android:summary="@string/pref_summary_colored_app"
android:title="@string/pref_title_colored_app" />
<code.name.monkey.appthemehelper.common.prefs.supportv7.ATESwitchPreference
android:defaultValue="false"
android:dependency="material_you"
android:key="should_color_app_shortcuts"
android:layout="@layout/list_item_view_switch"
android:summary="@string/pref_summary_colored_app_shortcuts"
android:title="@string/pref_title_app_shortcuts" />
</code.name.monkey.appthemehelper.common.prefs.supportv7.ATEPreferenceCategory>
</androidx.preference.PreferenceScreen>