LibreTube/app/src/main/res/xml/settings.xml
2022-06-07 15:52:10 +02:00

91 lines
2.7 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
app:key="region"
app:title="@string/region"
app:entries="@array/regions"
app:entryValues="@array/regionsValue"
app:defaultValue="US"
app:useSimpleSummaryProvider="true"
android:icon="@drawable/ic_region" />
<ListPreference
app:key="language"
app:title="@string/changeLanguage"
app:entries="@array/languages"
app:entryValues="@array/languagesValue"
app:defaultValue="sys"
app:useSimpleSummaryProvider="true"
android:icon="@drawable/ic_translate" />
</PreferenceCategory>
<PreferenceCategory app:title="@string/instance">
<ListPreference
app:key="instance"
app:title="@string/instances"
app:entries="@array/instances"
app:entryValues="@array/instancesValue"
app:defaultValue="https://pipedapi.kavin.rocks/"
android:icon="@drawable/ic_server" />
<EditTextPreference
app:key="customInstance"
app:title="@string/customInstance"
app:isPreferenceVisible="false" />
<Preference
app:key="login_register"
app:title="@string/login_register"
android:icon="@drawable/ic_login"
android:summary="@string/notgmail" />
<Preference
app:key="import_from_yt"
app:title="@string/import_from_yt"
android:summary="@string/import_from_yt_summary"
android:icon="@drawable/ic_upload" />
</PreferenceCategory>
<PreferenceCategory app:title="@string/customization">
<Preference
app:key="appearance"
app:title="@string/appearance"
android:icon="@drawable/ic_color" />
<Preference
app:title="@string/sponsorblock"
app:key="sponsorblock"
app:summary="@string/sponsorblock_summary"
android:icon="@drawable/ic_block" />
<Preference
app:title="@string/downloads"
app:key="downloads"
android:icon="@drawable/ic_file_download" />
<Preference
app:key="history"
app:title="@string/history"
android:icon="@drawable/ic_history" />
</PreferenceCategory>
<PreferenceCategory>
<Preference
app:title="@string/about"
app:key="about"
android:icon="@drawable/ic_info" />
</PreferenceCategory>
</PreferenceScreen>