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">
|
2022-05-11 02:10:29 +05:30
|
|
|
|
2022-05-11 13:34:48 +05:30
|
|
|
<PreferenceCategory app:title="@string/location">
|
2022-05-11 02:10:29 +05:30
|
|
|
|
2022-02-08 19:57:13 +05:30
|
|
|
<ListPreference
|
|
|
|
app:key="region"
|
|
|
|
app:title="@string/region"
|
|
|
|
app:entries="@array/regions"
|
|
|
|
app:entryValues="@array/regionsValue"
|
|
|
|
app:defaultValue="US"
|
|
|
|
app:useSimpleSummaryProvider="true"
|
2022-05-06 13:00:48 +05:30
|
|
|
android:icon="@drawable/ic_region"
|
2022-02-08 19:57:13 +05:30
|
|
|
/>
|
2022-02-08 14:58:50 +05:30
|
|
|
|
2022-05-06 00:21:34 +05:30
|
|
|
<ListPreference
|
|
|
|
app:key="language"
|
|
|
|
app:title="@string/changeLanguage"
|
|
|
|
app:entries="@array/languages"
|
|
|
|
app:entryValues="@array/languagesValue"
|
2022-05-06 13:00:48 +05:30
|
|
|
app:defaultValue="sys"
|
2022-05-06 00:21:34 +05:30
|
|
|
app:useSimpleSummaryProvider="true"
|
2022-05-06 13:00:48 +05:30
|
|
|
android:icon="@drawable/ic_flag"
|
2022-05-06 00:21:34 +05:30
|
|
|
/>
|
|
|
|
|
2022-05-11 02:10:29 +05:30
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
|
2022-05-11 13:34:48 +05:30
|
|
|
<PreferenceCategory app:title="@string/instance">
|
2022-05-11 02:10:29 +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/"
|
2022-03-18 20:43:07 +05:30
|
|
|
android:icon="@drawable/ic_server"
|
2022-02-10 17:48:38 +05:30
|
|
|
/>
|
2022-05-11 02:10:29 +05:30
|
|
|
|
2022-02-08 19:57:13 +05:30
|
|
|
<androidx.preference.EditTextPreference
|
|
|
|
app:key="customInstance"
|
|
|
|
app:title="@string/customInstance"
|
|
|
|
app:isPreferenceVisible="false"/>
|
2022-05-11 02:10:29 +05:30
|
|
|
|
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-03-18 20:43:07 +05:30
|
|
|
android:icon="@drawable/ic_login"
|
|
|
|
android:summary="@string/notgmail"
|
2022-02-08 19:57:13 +05:30
|
|
|
/>
|
2022-05-11 02:10:29 +05:30
|
|
|
|
2022-03-16 19:02:42 +05:30
|
|
|
<androidx.preference.Preference
|
|
|
|
app:key="import_from_yt"
|
|
|
|
app:title="@string/import_from_yt"
|
2022-05-05 17:08:48 +05:30
|
|
|
android:summary="@string/import_from_yt_summary"
|
2022-03-18 20:43:07 +05:30
|
|
|
android:icon="@drawable/ic_import"
|
2022-03-16 19:02:42 +05:30
|
|
|
/>
|
|
|
|
|
2022-05-11 02:10:29 +05:30
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
|
2022-05-11 13:34:48 +05:30
|
|
|
<PreferenceCategory app:title="@string/customization">
|
2022-05-11 02:10:29 +05:30
|
|
|
|
2022-03-18 01:18:43 +05:30
|
|
|
<ListPreference
|
|
|
|
app:title="@string/app_theme"
|
|
|
|
app:key="theme_togglee"
|
|
|
|
app:entries="@array/themes"
|
|
|
|
app:entryValues="@array/themesValue"
|
|
|
|
app:defaultValue="A"
|
2022-03-18 20:43:07 +05:30
|
|
|
android:icon="@drawable/ic_theme"
|
2022-03-18 01:18:43 +05:30
|
|
|
/>
|
2022-05-11 02:10:29 +05:30
|
|
|
|
2022-05-19 21:52:19 +05:30
|
|
|
<ListPreference
|
|
|
|
app:title="@string/color_accent"
|
|
|
|
app:key="accent_color"
|
|
|
|
app:entries="@array/accents"
|
|
|
|
app:entryValues="@array/accentsValue"
|
|
|
|
app:defaultValue="red"
|
|
|
|
android:icon="@drawable/ic_color"
|
|
|
|
/>
|
|
|
|
|
2022-05-16 19:33:18 +05:30
|
|
|
<androidx.preference.Preference
|
|
|
|
app:title="@string/sponsorblock"
|
|
|
|
app:key="sponsorblock"
|
|
|
|
app:summary="@string/sponsorblock_summary"
|
|
|
|
android:icon="@drawable/ic_sponsorblock"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<ListPreference
|
2022-05-16 19:22:35 +05:30
|
|
|
app:title="@string/defaultTab"
|
|
|
|
app:key="default_tab"
|
|
|
|
app:entries="@array/tabs"
|
|
|
|
app:entryValues="@array/tabsValue"
|
|
|
|
app:defaultValue="home"
|
|
|
|
android:icon="@drawable/ic_home"
|
|
|
|
/>
|
2022-05-16 15:41:22 +05:30
|
|
|
|
2022-03-19 00:28:50 +05:30
|
|
|
<ListPreference
|
|
|
|
app:title="@string/defres"
|
|
|
|
app:key="default_res"
|
|
|
|
app:entries="@array/defres"
|
2022-03-29 21:07:52 +05:30
|
|
|
app:entryValues="@array/defresValue"
|
2022-03-19 00:28:50 +05:30
|
|
|
app:defaultValue=""
|
|
|
|
android:icon="@drawable/ic_hd"
|
|
|
|
app:useSimpleSummaryProvider="true"
|
|
|
|
/>
|
2022-05-11 02:10:29 +05:30
|
|
|
|
2022-03-29 22:32:34 +05:30
|
|
|
<ListPreference
|
|
|
|
app:title="@string/grid"
|
|
|
|
app:key="grid"
|
|
|
|
app:entries="@array/grid"
|
|
|
|
app:entryValues="@array/grid"
|
2022-03-31 23:04:19 +05:30
|
|
|
app:defaultValue="@integer/grid_items"
|
2022-03-29 22:32:34 +05:30
|
|
|
android:icon="@drawable/ic_column"
|
|
|
|
app:useSimpleSummaryProvider="true"
|
|
|
|
/>
|
2022-05-11 02:10:29 +05:30
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
2022-05-15 19:26:24 +05:30
|
|
|
<PreferenceCategory app:title="@string/history">
|
|
|
|
|
|
|
|
<SwitchPreference
|
|
|
|
app:title="@string/search_history"
|
|
|
|
app:key="search_history_toggle"
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:icon="@drawable/ic_history" />
|
|
|
|
|
|
|
|
<Preference
|
|
|
|
app:title="@string/clear_history"
|
|
|
|
app:key="clear_history"
|
|
|
|
android:icon="@drawable/ic_trash" />
|
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
2022-05-11 02:17:02 +05:30
|
|
|
<PreferenceCategory app:title="@string/about">
|
2022-05-11 02:10:29 +05:30
|
|
|
|
2022-05-01 20:06:28 +05:30
|
|
|
<Preference
|
2022-05-11 02:17:02 +05:30
|
|
|
app:title="@string/website"
|
2022-05-01 20:06:28 +05:30
|
|
|
app:key="about"
|
2022-05-17 02:02:32 +05:30
|
|
|
android:icon="@drawable/ic_region" />
|
|
|
|
|
|
|
|
<Preference
|
|
|
|
app:title="@string/license"
|
|
|
|
app:key="license"
|
|
|
|
android:icon="@drawable/ic_gnu" />
|
2022-03-18 01:18:43 +05:30
|
|
|
|
2022-05-11 02:10:29 +05:30
|
|
|
</PreferenceCategory>
|
|
|
|
|
2022-02-08 14:58:50 +05:30
|
|
|
</androidx.preference.PreferenceScreen>
|