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"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
|
|
|
|
<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"
|
|
|
|
app:title="@string/search_history" />
|
|
|
|
|
|
|
|
<Preference
|
|
|
|
android:icon="@drawable/ic_trash"
|
2022-07-17 21:48:39 +05:30
|
|
|
app:key="clear_search_history"
|
2022-07-16 01:42:51 +05:30
|
|
|
app:title="@string/clear_history" />
|
|
|
|
|
|
|
|
</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"
|
|
|
|
app:title="@string/watch_history" />
|
|
|
|
|
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"
|
|
|
|
app:title="@string/history_size"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
|
2022-07-16 01:42:51 +05:30
|
|
|
<Preference
|
|
|
|
android:icon="@drawable/ic_trash"
|
|
|
|
app:key="clear_watch_history"
|
|
|
|
app:title="@string/clear_history" />
|
|
|
|
|
|
|
|
</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"
|
|
|
|
app:title="@string/watch_positions" />
|
|
|
|
|
|
|
|
<Preference
|
|
|
|
android:icon="@drawable/ic_reset"
|
2022-07-29 11:51:08 +05:30
|
|
|
app:key="clear_watch_positions"
|
2022-07-18 23:06:21 +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"
|
|
|
|
app:key="clear_bookmarks" />
|
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
2022-07-16 01:42:51 +05:30
|
|
|
</PreferenceScreen>
|