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-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/"
|
|
|
|
app:useSimpleSummaryProvider="true"/>
|
|
|
|
<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-02-08 14:58:50 +05:30
|
|
|
</androidx.preference.PreferenceScreen>
|