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

119 lines
3.9 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
<Preference
android:icon="@drawable/ic_home"
app:key="nav_bar_items"
app:title="@string/navigation_bar" />
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="selected"
2022-07-10 21:23:17 +05:30
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-08-24 21:26:57 +05:30
<PreferenceCategory app:title="@string/misc">
<SwitchPreferenceCompat
app:defaultValue="false"
app:icon="@drawable/ic_list"
app:key="legacy_subscriptions"
app:title="@string/legacy_subscriptions" />
<ListPreference
android:entries="@array/grid"
android:entryValues="@array/grid"
app:defaultValue="3"
app:icon="@drawable/ic_grid"
app:isPreferenceVisible="false"
app:key="legacy_subscriptions_columns"
app:title="@string/grid" />
2022-09-10 15:07:30 +05:30
<SwitchPreferenceCompat
android:icon="@drawable/ic_trending"
app:defaultValue="false"
app:key="trending_layout"
app:title="@string/trending_layout" />
<ListPreference
android:defaultValue="recent"
android:entries="@array/playlistSortingOptions"
android:entryValues="@array/playlistSortingOptionsValues"
android:icon="@drawable/ic_filter"
app:key="playlists_order"
app:title="@string/playlists_order" />
2022-08-24 21:26:57 +05:30
</PreferenceCategory>
2022-06-07 17:12:07 +05:30
</PreferenceScreen>