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

99 lines
3.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<PreferenceCategory app:title="@string/appearance">
<ListPreference
android:icon="@drawable/ic_theme"
app:defaultValue="A"
app:entries="@array/themes"
app:entryValues="@array/themesValue"
app:key="theme_toggle"
app:title="@string/app_theme"
app:useSimpleSummaryProvider="true" />
<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" />
<ListPreference
android:icon="@drawable/ic_color"
app:defaultValue="purple"
app:entries="@array/accents"
app:entryValues="@array/accentsValue"
app:key="accent_color"
app:title="@string/color_accent"
app:useSimpleSummaryProvider="true" />
<Preference
android:icon="@drawable/ic_frame"
app:key="icon_change"
app:title="@string/app_icon" />
</PreferenceCategory>
<PreferenceCategory app:title="@string/navigation_bar">
<Preference
android:icon="@drawable/ic_home"
app:key="navbar_items"
app:title="@string/navbar_order" />
<ListPreference
android:icon="@drawable/ic_label"
app:defaultValue="selected"
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">
<MultiSelectListPreference
android:entries="@array/homeTabItems"
android:entryValues="@array/homeTabItemsValues"
android:icon="@drawable/ic_awesome"
android:key="home_tab_content"
android:title="@string/home_tab_content"
app:defaultValue="@array/homeTabItemsValues" />
<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" />
<SwitchPreferenceCompat
android:icon="@drawable/ic_trending"
app:defaultValue="false"
app:key="alternative_videos_layout"
app:title="@string/alternative_videos_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>
</PreferenceScreen>