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"
|
2023-02-21 15:58:37 +05:30
|
|
|
app:defaultValue="https://pipedapi.kavin.rocks"
|
2022-06-11 15:23:09 +05:30
|
|
|
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"
|
2023-02-21 15:58:37 +05:30
|
|
|
app:defaultValue="https://pipedapi.kavin.rocks"
|
2022-07-03 13:50:53 +05:30
|
|
|
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" />
|
|
|
|
|
2023-02-18 14:44:05 +05:30
|
|
|
<Preference
|
|
|
|
android:icon="@drawable/ic_login_filled"
|
|
|
|
android:summary="@string/notgmail"
|
|
|
|
app:isPreferenceVisible="false"
|
|
|
|
app:key="logout"
|
|
|
|
app:title="@string/logout" />
|
|
|
|
|
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>
|
|
|
|
|
2022-06-11 15:23:09 +05:30
|
|
|
</PreferenceScreen>
|