mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-15 23:00:31 +05:30
76 lines
2.5 KiB
XML
76 lines
2.5 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="purple"
|
|
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" />
|
|
|
|
<SwitchPreference
|
|
android:icon="@drawable/ic_trending"
|
|
app:defaultValue="false"
|
|
app:key="hide_trending_page"
|
|
app:title="@string/hideTrendingPage"
|
|
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> |