summaryrefslogtreecommitdiff
path: root/app/src/main/res/xml/preferences_downloads.xml
blob: 865748d200bce02f647cca3aaf01f93f5dabaab0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen
        xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:numberpicker="http://schemas.android.com/apk/de.danoeh.antennapod"
        xmlns:search="http://schemas.android.com/apk/com.bytehamster.lib.preferencesearch">

    <Preference
        android:title="@string/choose_data_directory"
        android:key="prefChooseDataDir"/>

    <PreferenceCategory android:title="@string/automation">
        <de.danoeh.antennapod.preferences.MaterialListPreference
            android:entryValues="@array/feed_refresh_interval_values"
            android:entries="@array/feed_refresh_interval_entries"
            android:key="prefAutoUpdateIntervall"
            android:title="@string/feed_refresh_title"
            android:summary="@string/feed_refresh_sum"
            android:defaultValue="12"/>
        <de.danoeh.antennapod.preferences.MaterialListPreference
            android:entryValues="@array/globalNewEpisodesActionValues"
            android:entries="@array/globalNewEpisodesActionItems"
            android:key="prefNewEpisodesAction"
            android:title="@string/pref_new_episodes_action_title"
            android:summary="@string/pref_new_episodes_action_sum"
            android:defaultValue="1"/>
        <Preference
            android:summary="@string/pref_automatic_download_sum"
            android:key="prefAutoDownloadSettings"
            android:title="@string/pref_automatic_download_title"
            search:ignore="true" />
        <SwitchPreferenceCompat
            android:defaultValue="false"
            android:enabled="true"
            android:key="prefAutoDelete"
            android:summary="@string/pref_auto_delete_sum"
            android:title="@string/pref_auto_delete_title"/>
        <SwitchPreferenceCompat
            android:defaultValue="true"
            android:enabled="true"
            android:key="prefFavoriteKeepsEpisode"
            android:summary="@string/pref_favorite_keeps_episodes_sum"
            android:title="@string/pref_favorite_keeps_episodes_title"/>
        <SwitchPreferenceCompat
            android:defaultValue="false"
            android:enabled="true"
            android:key="prefDeleteRemovesFromQueue"
            android:summary="@string/pref_delete_removes_from_queue_sum"
            android:title="@string/pref_delete_removes_from_queue_title"/>
    </PreferenceCategory>

    <PreferenceCategory android:title="@string/download_pref_details">
        <MultiSelectListPreference
                android:defaultValue="@array/mobile_update_default_value"
                android:entries="@array/mobile_update_entries"
                android:entryValues="@array/mobile_update_values"
                android:key="prefMobileUpdateTypes"
                android:summary="@string/pref_mobileUpdate_sum"
                android:title="@string/pref_mobileUpdate_title"/>
        <de.danoeh.antennapod.preferences.NumberPickerPreference
                android:defaultValue="4"
                numberpicker:minValue="1"
                numberpicker:maxValue="50"
                android:key="prefParallelDownloads"
                android:title="@string/pref_parallel_downloads_title"/>
        <Preference
                android:key="prefProxy"
                android:summary="@string/pref_proxy_sum"
                android:title="@string/pref_proxy_title"/>
    </PreferenceCategory>
</PreferenceScreen>