LibreTube/app/src/main/res/xml/settings.xml
2022-05-01 16:36:28 +02:00

72 lines
2.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<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_language"
/>
<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"
/>
<androidx.preference.EditTextPreference
app:key="customInstance"
app:title="@string/customInstance"
app:isPreferenceVisible="false"/>
<androidx.preference.Preference
app:key="login_register"
app:title="@string/login_register"
android:icon="@drawable/ic_login"
android:summary="@string/notgmail"
/>
<androidx.preference.Preference
app:key="import_from_yt"
app:title="@string/import_from_yt"
android:hint="This is my hint"
android:summary=""
android:icon="@drawable/ic_import"
/>
<ListPreference
app:title="@string/app_theme"
app:key="theme_togglee"
app:entries="@array/themes"
app:entryValues="@array/themesValue"
app:defaultValue="A"
android:icon="@drawable/ic_theme"
/>
<ListPreference
app:title="@string/defres"
app:key="default_res"
app:entries="@array/defres"
app:entryValues="@array/defresValue"
app:defaultValue=""
android:icon="@drawable/ic_hd"
app:useSimpleSummaryProvider="true"
/>
<ListPreference
app:title="@string/grid"
app:key="grid"
app:entries="@array/grid"
app:entryValues="@array/grid"
app:defaultValue="@integer/grid_items"
android:icon="@drawable/ic_column"
app:useSimpleSummaryProvider="true"
/>
<Preference
app:title="@string/about"
app:key="about"
android:icon="@drawable/ic_info"
/>
</androidx.preference.PreferenceScreen>