mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-15 23:00:31 +05:30
63 lines
2.0 KiB
XML
63 lines
2.0 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">
|
|
|
|
<androidx.preference.SwitchPreferenceCompat
|
|
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"
|
|
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/defres"
|
|
app:defaultValue=""
|
|
android:icon="@drawable/ic_hd"
|
|
app:useSimpleSummaryProvider="true"
|
|
/>
|
|
|
|
</androidx.preference.PreferenceScreen> |