LibreTube/app/src/main/res/xml/history_settings.xml

62 lines
2.1 KiB
XML
Raw Normal View History

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
android:defaultValue="unlimited"
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">
<SwitchPreferenceCompat
android:defaultValue="true"
android:icon="@drawable/ic_play_filled"
app:key="watch_position_toggle"
app:summary="@string/watch_positions_summary"
app:title="@string/watch_positions" />
<Preference
android:icon="@drawable/ic_reset"
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>
</PreferenceScreen>