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

69 lines
2.2 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_togglee"
app:title="@string/app_theme"
app:useSimpleSummaryProvider="true" />
<ListPreference
android:icon="@drawable/ic_color"
app:defaultValue="red"
app:entries="@array/accents"
app:entryValues="@array/accentsValue"
app:key="accent_color"
app:title="@string/color_accent"
app:useSimpleSummaryProvider="true" />
<ListPreference
android:icon="@drawable/ic_frame"
app:defaultValue="MainActivity"
app:entries="@array/icons"
app:entryValues="@array/iconsValue"
app:key="icon_change"
app:title="@string/app_icon"
app:useSimpleSummaryProvider="true" />
</PreferenceCategory>
<PreferenceCategory app:title="@string/app_behavior">
<ListPreference
android:icon="@drawable/ic_home"
app:defaultValue="home"
app:entries="@array/tabs"
app:entryValues="@array/tabsValue"
app:key="default_tab"
app:title="@string/defaultTab"
app:useSimpleSummaryProvider="true" />
<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>
<SwitchPreference
android:defaultValue="true"
android:icon="@drawable/ic_list"
app:key="related_streams_toggle"
app:summary="@string/related_streams_summary"
app:title="@string/related_streams" />
</PreferenceCategory>
</PreferenceScreen>