LibreTube/app/src/main/res/xml/appearance_settings.xml

80 lines
2.7 KiB
XML
Raw Normal View History

2022-06-07 12:22:11 +05:30
<?xml version="1.0" encoding="utf-8"?>
2022-06-07 17:12:07 +05:30
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
2022-06-07 12:22:11 +05:30
xmlns:app="http://schemas.android.com/apk/res-auto">
<PreferenceCategory app:title="@string/appearance">
2022-06-07 17:12:07 +05:30
<ListPreference
android:icon="@drawable/ic_theme"
app:defaultValue="A"
2022-06-07 12:22:11 +05:30
app:entries="@array/themes"
app:entryValues="@array/themesValue"
2022-07-12 22:29:21 +05:30
app:key="theme_toggle"
app:title="@string/app_theme"
2022-06-07 20:22:06 +05:30
app:useSimpleSummaryProvider="true" />
2022-06-07 12:22:11 +05:30
2022-07-15 02:02:42 +05:30
<SwitchPreferenceCompat
android:icon="@drawable/ic_invert_colors"
android:summary="@string/pure_theme_summary"
app:defaultValue="false"
app:key="pure_theme"
app:title="@string/pure_theme" />
2022-06-07 17:12:07 +05:30
<ListPreference
android:icon="@drawable/ic_color"
2022-06-20 17:27:59 +05:30
app:defaultValue="purple"
2022-06-07 12:22:11 +05:30
app:entries="@array/accents"
app:entryValues="@array/accentsValue"
app:key="accent_color"
app:title="@string/color_accent"
2022-06-07 20:22:06 +05:30
app:useSimpleSummaryProvider="true" />
2022-06-07 12:22:11 +05:30
2022-06-07 17:12:07 +05:30
<ListPreference
android:icon="@drawable/ic_frame"
app:defaultValue="MainActivity"
2022-06-07 12:22:11 +05:30
app:entries="@array/icons"
app:entryValues="@array/iconsValue"
app:key="icon_change"
app:title="@string/app_icon"
2022-06-07 20:22:06 +05:30
app:useSimpleSummaryProvider="true" />
2022-06-07 12:22:11 +05:30
</PreferenceCategory>
<PreferenceCategory app:title="@string/app_behavior">
2022-07-10 21:23:17 +05:30
<ListPreference
android:icon="@drawable/ic_label"
app:defaultValue="always"
app:entries="@array/labelVisibility"
app:entryValues="@array/labelVisibilityValues"
app:key="label_visibility"
app:title="@string/navLabelVisibility"
app:useSimpleSummaryProvider="true" />
2022-06-07 17:12:07 +05:30
<ListPreference
android:icon="@drawable/ic_grid"
app:defaultValue="@integer/grid_items"
2022-06-07 12:22:11 +05:30
app:entries="@array/grid"
app:entryValues="@array/grid"
app:key="grid"
app:title="@string/grid"
2022-06-07 12:22:11 +05:30
app:useSimpleSummaryProvider="true" />
</PreferenceCategory>
<PreferenceCategory app:title="@string/player">
<SwitchPreferenceCompat
android:icon="@drawable/ic_caption"
2022-07-18 23:06:21 +05:30
app:defaultValue="true"
app:key="system_caption_style"
2022-07-18 23:06:21 +05:30
app:title="@string/system_caption_style" />
2022-07-24 01:31:37 +05:30
<Preference
android:icon="@drawable/ic_settings"
app:key="caption_settings"
app:title="@string/caption_settings" />
</PreferenceCategory>
2022-06-07 17:12:07 +05:30
</PreferenceScreen>