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

114 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
</PreferenceCategory>
<PreferenceCategory app:title="@string/navigation_bar">
<Preference
android:icon="@drawable/ic_home"
2022-10-30 14:06:19 +05:30
app:key="navbar_items"
app:title="@string/navbar_order" />
2022-06-07 12:22:11 +05:30
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" />
</PreferenceCategory>
<PreferenceCategory app:title="@string/layout">
2022-08-24 21:26:57 +05:30
<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"
2022-10-29 21:03:12 +05:30
app:key="alternative_videos_layout"
app:title="@string/alternative_videos_layout" />
2022-09-10 15:07:30 +05:30
2022-11-12 23:34:40 +05:30
<SwitchPreferenceCompat
android:icon="@drawable/ic_list"
app:defaultValue="false"
app:key="alternative_player_layout"
app:summary="@string/alternative_player_layout_summary"
app:title="@string/alternative_player_layout" />
<ListPreference
android:icon="@drawable/ic_grid"
app:defaultValue="@integer/grid_items"
app:entries="@array/grid"
app:entryValues="@array/grid"
app:key="grid"
app:title="@string/grid"
app:useSimpleSummaryProvider="true" />
</PreferenceCategory>
<PreferenceCategory app:title="@string/misc">
<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>