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

69 lines
2.3 KiB
XML
Raw Normal View History

2022-06-11 15:23:09 +05:30
<?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/instance">
<ListPreference
android:icon="@drawable/ic_server"
app:defaultValue="https://pipedapi.kavin.rocks/"
app:entries="@array/instances"
app:entryValues="@array/instancesValue"
2022-06-11 16:34:33 +05:30
app:key="selectInstance"
2022-06-11 15:23:09 +05:30
app:title="@string/instances" />
2022-06-11 16:34:33 +05:30
<Preference
2022-06-25 21:25:03 +05:30
android:icon="@drawable/ic_add_instance"
2022-06-11 15:23:09 +05:30
app:key="customInstance"
2022-06-11 16:34:33 +05:30
app:summary="@string/customInstance_summary"
2022-06-25 21:25:03 +05:30
app:title="@string/customInstance" />
2022-06-11 15:23:09 +05:30
2022-06-11 19:25:25 +05:30
<Preference
2022-06-25 21:25:03 +05:30
android:icon="@drawable/ic_trash"
2022-06-11 19:25:25 +05:30
app:key="clearCustomInstances"
2022-06-25 21:25:03 +05:30
app:title="@string/clear_customInstances" />
2022-07-15 02:02:42 +05:30
<SwitchPreferenceCompat
2022-07-03 13:50:53 +05:30
android:defaultValue="false"
android:icon="@drawable/ic_auth"
app:key="auth_instance_toggle"
app:summary="@string/auth_instance_summary"
app:title="@string/auth_instance" />
<ListPreference
android:icon="@drawable/ic_server"
app:defaultValue="https://pipedapi.kavin.rocks/"
app:entries="@array/instances"
app:entryValues="@array/instancesValue"
app:key="selectAuthInstance"
app:title="@string/auth_instances" />
2022-06-25 21:25:03 +05:30
</PreferenceCategory>
<PreferenceCategory app:title="@string/account">
2022-06-11 19:25:25 +05:30
2022-06-11 15:23:09 +05:30
<Preference
2022-06-18 14:44:46 +05:30
android:icon="@drawable/ic_login_filled"
2022-06-11 15:23:09 +05:30
android:summary="@string/notgmail"
app:key="login_register"
app:title="@string/login_register" />
2022-06-25 21:25:03 +05:30
<Preference
android:icon="@drawable/ic_reset"
android:summary="@string/deleteAccount_summary"
app:key="delete_account"
app:title="@string/deleteAccount" />
</PreferenceCategory>
<PreferenceCategory app:title="@string/restore">
2022-06-11 15:23:09 +05:30
<Preference
android:icon="@drawable/ic_upload"
android:summary="@string/import_from_yt_summary"
app:key="import_from_yt"
app:title="@string/import_from_yt" />
</PreferenceCategory>
</PreferenceScreen>