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

40 lines
1.4 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-11 15:23:09 +05:30
app:key="customInstance"
2022-06-11 16:34:33 +05:30
app:title="@string/customInstance"
app:summary="@string/customInstance_summary"
android:icon="@drawable/ic_add_instance" />
2022-06-11 15:23:09 +05:30
2022-06-11 19:25:25 +05:30
<Preference
app:key="clearCustomInstances"
app:title="@string/clear_customInstances"
android:icon="@drawable/ic_trash" />
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" />
<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>