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

63 lines
2.1 KiB
XML
Raw Normal View History

2022-02-08 14:58:50 +05:30
<?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">
<androidx.preference.SwitchPreferenceCompat
2022-02-08 19:57:13 +05:30
app:key="darkMode"
app:title="Toggle dark mode"
app:isPreferenceVisible="false"/>
<ListPreference
app:key="region"
app:title="@string/region"
app:entries="@array/regions"
app:entryValues="@array/regionsValue"
app:defaultValue="US"
app:useSimpleSummaryProvider="true"
2022-03-18 20:43:07 +05:30
android:icon="@drawable/ic_language"
2022-02-08 19:57:13 +05:30
/>
2022-02-08 14:58:50 +05:30
2022-02-08 19:57:13 +05:30
<ListPreference
app:key="instance"
app:title="@string/instances"
app:entries="@array/instances"
app:entryValues="@array/instancesValue"
app:defaultValue="https://pipedapi.kavin.rocks/"
2022-03-18 20:43:07 +05:30
android:icon="@drawable/ic_server"
2022-02-10 17:48:38 +05:30
/>
2022-02-08 19:57:13 +05:30
<androidx.preference.EditTextPreference
app:key="customInstance"
app:title="@string/customInstance"
app:isPreferenceVisible="false"/>
2022-02-08 14:58:50 +05:30
<androidx.preference.Preference
2022-02-08 19:57:13 +05:30
app:key="login_register"
app:title="@string/login_register"
2022-03-18 20:43:07 +05:30
android:icon="@drawable/ic_login"
android:summary="@string/notgmail"
2022-02-08 19:57:13 +05:30
/>
2022-03-16 19:02:42 +05:30
<androidx.preference.Preference
app:key="import_from_yt"
app:title="@string/import_from_yt"
2022-03-18 00:40:18 +05:30
android:hint="This is my hint"
2022-03-18 20:43:07 +05:30
android:summary=""
android:icon="@drawable/ic_import"
2022-03-16 19:02:42 +05:30
/>
2022-03-18 01:18:43 +05:30
<ListPreference
app:title="@string/app_theme"
app:key="theme_togglee"
app:entries="@array/themes"
app:entryValues="@array/themesValue"
app:defaultValue="A"
2022-03-18 20:43:07 +05:30
android:icon="@drawable/ic_theme"
2022-03-18 01:18:43 +05:30
/>
2022-03-19 00:28:50 +05:30
<ListPreference
app:title="@string/defres"
app:key="default_res"
app:entries="@array/defres"
2022-03-29 21:07:52 +05:30
app:entryValues="@array/defresValue"
2022-03-19 00:28:50 +05:30
app:defaultValue=""
android:icon="@drawable/ic_hd"
app:useSimpleSummaryProvider="true"
/>
2022-03-18 01:18:43 +05:30
2022-02-08 14:58:50 +05:30
</androidx.preference.PreferenceScreen>