LibreTube/app/src/main/res/xml/settings.xml
2022-07-15 22:12:51 +02:00

83 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/location">
<ListPreference
android:icon="@drawable/ic_region"
app:defaultValue="sys"
app:entries="@array/regions"
app:entryValues="@array/regionsValue"
app:key="region"
app:title="@string/region"
app:useSimpleSummaryProvider="true" />
<ListPreference
android:icon="@drawable/ic_translate"
app:defaultValue="sys"
app:entries="@array/languages"
app:entryValues="@array/languagesValue"
app:key="language"
app:title="@string/changeLanguage"
app:useSimpleSummaryProvider="true" />
</PreferenceCategory>
<PreferenceCategory app:title="@string/customization">
<Preference
android:icon="@drawable/ic_server"
app:key="instance"
app:summary="@string/instance_summary"
app:title="@string/instance" />
<Preference
android:icon="@drawable/ic_color"
app:key="appearance"
app:summary="@string/appearance_summary"
app:title="@string/appearance" />
<Preference
android:icon="@drawable/ic_block"
app:key="sponsorblock"
app:summary="@string/sponsorblock_summary"
app:title="@string/sponsorblock" />
<Preference
android:icon="@drawable/ic_movie"
app:key="player"
app:summary="@string/player_summary"
app:title="@string/audio_video" />
<Preference
android:icon="@drawable/ic_history_filled"
android:summary="@string/history_summary"
app:key="history"
app:title="@string/history" />
<Preference
android:icon="@drawable/ic_list"
app:key="advanced"
app:summary="@string/advanced_summary"
app:title="@string/advanced" />
</PreferenceCategory>
<PreferenceCategory>
<Preference
android:icon="@drawable/ic_update"
app:key="update"
app:summary="@string/update_summary"
app:title="App version" />
<Preference
android:icon="@drawable/ic_info"
app:key="about"
app:title="@string/about" />
</PreferenceCategory>
</PreferenceScreen>