2022-07-16 01:42:51 +05:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
2023-04-27 13:09:45 +05:30
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
2022-07-16 01:42:51 +05:30
|
|
|
|
|
|
|
<PreferenceCategory app:title="@string/search_history">
|
|
|
|
|
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:icon="@drawable/ic_history_filled"
|
|
|
|
android:summary="@string/search_history_summary"
|
|
|
|
app:key="search_history_toggle"
|
2023-04-27 13:09:45 +05:30
|
|
|
app:title="@string/search_history"/>
|
2022-07-16 01:42:51 +05:30
|
|
|
|
2023-04-27 12:46:04 +05:30
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:dependency="search_history_toggle"
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:icon="@drawable/ic_search"
|
|
|
|
app:key="unlimited_search_history"
|
2023-04-27 13:09:45 +05:30
|
|
|
app:title="@string/unlimited_search_history"/>
|
2023-04-27 12:46:04 +05:30
|
|
|
|
2022-07-16 01:42:51 +05:30
|
|
|
<Preference
|
|
|
|
android:icon="@drawable/ic_trash"
|
2022-07-17 21:48:39 +05:30
|
|
|
app:key="clear_search_history"
|
2023-04-27 13:09:45 +05:30
|
|
|
app:title="@string/clear_history"/>
|
2022-07-16 01:42:51 +05:30
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
<PreferenceCategory app:title="@string/watch_history">
|
|
|
|
|
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:icon="@drawable/ic_time_outlined"
|
|
|
|
android:summary="@string/watch_history_summary"
|
|
|
|
app:key="watch_history_toggle"
|
2023-04-27 13:09:45 +05:30
|
|
|
app:title="@string/watch_history"/>
|
2022-07-16 01:42:51 +05:30
|
|
|
|
2022-08-09 18:19:34 +05:30
|
|
|
<ListPreference
|
2023-01-23 22:25:48 +05:30
|
|
|
android:defaultValue="100"
|
2022-08-09 18:19:34 +05:30
|
|
|
android:entries="@array/historySize"
|
|
|
|
android:entryValues="@array/historySizeValues"
|
|
|
|
android:icon="@drawable/ic_list"
|
|
|
|
app:key="watch_history_size"
|
2023-04-27 13:09:45 +05:30
|
|
|
android:dependency="watch_history_toggle"
|
2022-08-09 18:19:34 +05:30
|
|
|
app:title="@string/history_size"
|
2023-04-27 13:09:45 +05:30
|
|
|
app:useSimpleSummaryProvider="true"/>
|
2022-08-09 18:19:34 +05:30
|
|
|
|
2022-07-16 01:42:51 +05:30
|
|
|
<Preference
|
|
|
|
android:icon="@drawable/ic_trash"
|
|
|
|
app:key="clear_watch_history"
|
2023-04-27 13:09:45 +05:30
|
|
|
app:title="@string/clear_history"/>
|
2022-07-16 01:42:51 +05:30
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
<PreferenceCategory app:title="@string/watch_positions_title">
|
|
|
|
|
2023-02-12 17:25:31 +05:30
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="always"
|
|
|
|
android:entries="@array/watchPosition"
|
|
|
|
android:entryValues="@array/watchPositionValues"
|
2022-07-16 01:42:51 +05:30
|
|
|
android:icon="@drawable/ic_play_filled"
|
2023-02-12 17:25:31 +05:30
|
|
|
app:key="watch_positions"
|
2022-07-16 01:42:51 +05:30
|
|
|
app:summary="@string/watch_positions_summary"
|
2023-04-27 13:09:45 +05:30
|
|
|
app:title="@string/watch_positions"/>
|
2022-07-16 01:42:51 +05:30
|
|
|
|
|
|
|
<Preference
|
|
|
|
android:icon="@drawable/ic_reset"
|
2022-07-29 11:51:08 +05:30
|
|
|
app:key="clear_watch_positions"
|
2023-04-27 13:09:45 +05:30
|
|
|
app:title="@string/reset_watch_positions"/>
|
2022-07-16 01:42:51 +05:30
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
2022-11-19 14:53:09 +05:30
|
|
|
<PreferenceCategory app:title="@string/bookmarks">
|
|
|
|
|
2022-11-19 15:28:51 +05:30
|
|
|
<Preference
|
2022-11-19 14:53:09 +05:30
|
|
|
android:title="@string/clear_bookmarks"
|
|
|
|
app:icon="@drawable/ic_bookmark"
|
2023-04-27 13:09:45 +05:30
|
|
|
app:key="clear_bookmarks"/>
|
2022-11-19 14:53:09 +05:30
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
2022-07-16 01:42:51 +05:30
|
|
|
</PreferenceScreen>
|