2022-06-07 20:22:06 +05:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
2022-06-08 14:37:47 +05:30
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
2022-06-07 20:22:06 +05:30
|
|
|
|
2022-07-16 01:42:51 +05:30
|
|
|
<PreferenceCategory app:title="@string/advanced">
|
2022-06-21 11:42:40 +05:30
|
|
|
|
2022-12-25 20:38:52 +05:30
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="disabled"
|
|
|
|
android:entries="@array/dataSaverModeOptions"
|
|
|
|
android:entryValues="@array/dataSaverModeValues"
|
2022-07-16 01:07:44 +05:30
|
|
|
android:icon="@drawable/ic_data_saver"
|
|
|
|
android:summary="@string/data_saver_mode_summary"
|
2023-01-05 22:54:59 +05:30
|
|
|
app:key="data_saver_mode_key"
|
2022-07-16 01:07:44 +05:30
|
|
|
app:title="@string/data_saver_mode" />
|
|
|
|
|
2022-12-25 15:33:28 +05:30
|
|
|
<com.github.libretube.ui.views.SliderPreference
|
|
|
|
android:icon="@drawable/ic_download"
|
|
|
|
android:key="max_concurrent_downloads"
|
|
|
|
android:title="@string/concurrent_downloads"
|
|
|
|
app:defValue="6"
|
|
|
|
app:stepSize="1"
|
|
|
|
app:valueFrom="1"
|
|
|
|
app:valueTo="20" />
|
|
|
|
|
2022-08-15 14:17:31 +05:30
|
|
|
<ListPreference
|
|
|
|
android:entries="@array/cacheSize"
|
|
|
|
android:entryValues="@array/cacheSizeValues"
|
|
|
|
android:icon="@drawable/ic_cache"
|
|
|
|
app:defaultValue="128"
|
|
|
|
app:key="image_cache_size"
|
|
|
|
app:title="@string/maximum_image_cache"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
2022-12-21 16:30:58 +05:30
|
|
|
|
2022-09-12 18:00:48 +05:30
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:icon="@drawable/ic_badge"
|
|
|
|
android:summary="@string/new_videos_badge_summary"
|
|
|
|
app:key="new_videos_badge"
|
|
|
|
app:title="@string/new_videos_badge" />
|
|
|
|
|
2022-09-18 22:43:51 +05:30
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:icon="@drawable/ic_loading"
|
|
|
|
android:summary="@string/save_feed_summary"
|
|
|
|
app:key="save_feed"
|
|
|
|
app:title="@string/save_feed" />
|
|
|
|
|
2022-11-06 00:04:10 +05:30
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:icon="@drawable/ic_check"
|
|
|
|
android:summary="@string/confirm_unsubscribing_summary"
|
|
|
|
app:key="confirm_unsubscribing"
|
|
|
|
app:title="@string/confirm_unsubscribing" />
|
|
|
|
|
2022-12-21 16:30:58 +05:30
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:icon="@drawable/ic_invisible"
|
|
|
|
android:summary="@string/hide_watched_from_feed_summary"
|
|
|
|
android:title="@string/hide_watched_from_feed"
|
|
|
|
app:key="hide_watched_from_feed" />
|
|
|
|
|
2022-06-21 11:42:40 +05:30
|
|
|
</PreferenceCategory>
|
|
|
|
|
2022-11-23 22:25:17 +05:30
|
|
|
<PreferenceCategory app:title="@string/misc">
|
|
|
|
|
|
|
|
<Preference
|
|
|
|
android:icon="@drawable/ic_reset"
|
|
|
|
app:key="reset_settings"
|
|
|
|
app:title="@string/reset" />
|
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
2022-06-07 20:22:06 +05:30
|
|
|
</PreferenceScreen>
|