summaryrefslogtreecommitdiff
path: root/res/xml/preferences.xml
blob: 099ad27e98769c0d7a1c3c1bbb39f27144e2124c (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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">

    <PreferenceCategory android:title="@string/user_interface_label">
        <CheckBoxPreference
            android:title="@string/pref_display_only_episodes_title"
            android:summary="@string/pref_display_only_episodes_sum"
            android:key="prefDisplayOnlyEpisodes"/>
        <ListPreference
            android:entryValues="@array/theme_values"
            android:entries="@array/theme_options"
            android:title="@string/pref_set_theme_title"
            android:key="prefTheme"
            android:summary="@string/pref_set_theme_sum"
            android:defaultValue="0"/>
    </PreferenceCategory>
    <PreferenceCategory android:title="@string/playback_pref">
        <CheckBoxPreference
            android:defaultValue="true"
            android:enabled="true"
            android:key="prefPauseOnHeadsetDisconnect"
            android:summary="@string/pref_pauseOnHeadsetDisconnect_sum"
            android:title="@string/pref_pauseOnHeadsetDisconnect_title"/>
        <CheckBoxPreference
            android:defaultValue="false"
            android:enabled="true"
            android:key="prefFollowQueue"
            android:summary="@string/pref_followQueue_sum"
            android:title="@string/pref_followQueue_title"/>
        <Preference
            android:key="prefPlaybackSpeedLauncher"
            android:summary="@string/pref_playback_speed_sum"
            android:title="@string/pref_playback_speed_title" />
    </PreferenceCategory>
    <PreferenceCategory android:title="@string/network_pref">
        <ListPreference
            android:defaultValue="0"
            android:entries="@array/update_intervall_values"
            android:entryValues="@array/update_intervall_values"
            android:key="prefAutoUpdateIntervall"
            android:summary="@string/pref_autoUpdateIntervall_sum"
            android:title="@string/pref_autoUpdateIntervall_title"/>

        <CheckBoxPreference
            android:defaultValue="false"
            android:enabled="true"
            android:key="prefMobileUpdate"
            android:summary="@string/pref_mobileUpdate_sum"
            android:title="@string/pref_mobileUpdate_title"/>
        <ListPreference
            android:defaultValue="20"
            android:entries="@array/episode_cache_size_entries"
            android:key="prefEpisodeCacheSize"
            android:title="@string/pref_episode_cache_title"
            android:entryValues="@array/episode_cache_size_values"/>
        <PreferenceScreen
            android:summary="@string/pref_automatic_download_sum"
            android:key="prefAutoDownloadSettings"
            android:title="@string/pref_automatic_download_title">
            <CheckBoxPreference
                android:key="prefEnableAutoDl"
                android:title="@string/pref_automatic_download_title"
                android:defaultValue="false"/>
            <CheckBoxPreference
                android:key="prefEnableAutoDownloadWifiFilter"
                android:title="@string/pref_autodl_wifi_filter_title"
                android:summary="@string/pref_autodl_wifi_filter_sum"/>

        </PreferenceScreen>

    </PreferenceCategory>
    <PreferenceCategory android:title="@string/services_label">
        <PreferenceScreen
            android:key="prefFlattrSettings"
            android:title="@string/flattr_label">
            <PreferenceScreen
                android:key="pref_flattr_authenticate"
                android:summary="@string/pref_flattr_auth_sum"
                android:title="@string/pref_flattr_auth_title">
                <intent android:action=".activities.FlattrAuthActivity"/>
            </PreferenceScreen>

            <Preference
                android:key="prefRevokeAccess"
                android:summary="@string/pref_revokeAccess_sum"
                android:title="@string/pref_revokeAccess_title"/>
        </PreferenceScreen>
        <PreferenceScreen
            android:key="prefFlattrSettings"
            android:title="@string/gpodnet_main_label">

            <PreferenceScreen
                android:key="pref_gpodnet_authenticate"
                android:title="@string/pref_gpodnet_authenticate_title"
                android:summary="@string/pref_gpodnet_authenticate_sum">
                <intent android:action=".activity.gpoddernet.GpodnetAuthenticationActivity"/>
            </PreferenceScreen>
            <Preference
                android:key="pref_gpodnet_setlogin_information"
                android:title="@string/pref_gpodnet_setlogin_information_title"
                android:summary="@string/pref_gpodnet_setlogin_information_sum"/>
            <Preference
                android:key="pref_gpodnet_logout"
                android:title="@string/pref_gpodnet_logout_title"/>
        </PreferenceScreen>

    </PreferenceCategory>
    <PreferenceCategory android:title="@string/other_pref">
        <Preference
            android:title="@string/choose_data_directory"
            android:key="prefChooseDataDir"/>
        <Preference
            android:key="prefFlattrThisApp"
            android:summary="@string/pref_flattr_this_app_sum"
            android:title="@string/pref_flattr_this_app_title">
        </Preference>
        <Preference
            android:key="prefOpmlExport"
            android:title="@string/opml_export_label"/>
        <Preference
            android:key="prefAbout"
            android:title="@string/about_pref"/>


    </PreferenceCategory>

</PreferenceScreen>