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

76 lines
2.8 KiB
XML
Raw Normal View History

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
<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"
app:key="data_saver_mode_key"
2022-07-16 01:07:44 +05:30
app:title="@string/data_saver_mode" />
<SwitchPreferenceCompat
android:defaultValue="true"
android:icon="@drawable/ic_play_circle"
android:summary="@string/play_automatically_summary"
app:key="play_automatically"
app:title="@string/play_automatically" />
<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-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" />
<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>
<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>