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

69 lines
2.2 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"
app:key="theme_togglee"
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-06-07 17:12:07 +05:30
<ListPreference
android:icon="@drawable/ic_color"
app:defaultValue="red"
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-06-07 17:12:07 +05:30
<ListPreference
android:icon="@drawable/ic_home"
app:defaultValue="home"
2022-06-07 12:22:11 +05:30
app:entries="@array/tabs"
app:entryValues="@array/tabsValue"
app:key="default_tab"
app:title="@string/defaultTab"
2022-06-07 12:22:11 +05:30
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>
<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>
2022-06-07 17:12:07 +05:30
</PreferenceScreen>