diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2013-03-08 20:56:24 +0100 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2013-03-08 20:56:24 +0100 |
commit | 3fde2349f9a859fb3b9b95dbf97ff9f7900774c2 (patch) | |
tree | 49c833ae354b85236b8c0e1296c69f3d58257d94 /res | |
parent | 7f81f8a438a9cbb306306d690731678815c6219d (diff) | |
download | AntennaPod-3fde2349f9a859fb3b9b95dbf97ff9f7900774c2.zip |
Added preferences for configuring auto-download
Diffstat (limited to 'res')
-rw-r--r-- | res/values/arrays.xml | 8 | ||||
-rw-r--r-- | res/values/strings.xml | 6 | ||||
-rw-r--r-- | res/xml/preferences.xml | 3 |
3 files changed, 16 insertions, 1 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml index 17a94c29f..6b9650469 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -21,6 +21,14 @@ <item>24</item> </string-array> + <string-array name="autodl_select_networks_default_entries"> + <item>N/A</item> + </string-array> + + <string-array name="autodl_select_networks_default_values"> + <item>0</item> + </string-array> + <string-array name="theme_options"> <item>Light</item> <item>Dark</item> diff --git a/res/values/strings.xml b/res/values/strings.xml index a1c9e336a..5c49a5772 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -175,7 +175,11 @@ <string name="pref_auto_delete_sum">Delete an episode when playback completes or when it is removed from the queue.</string> <string name="pref_set_theme_title">Select theme</string> <string name="pref_set_theme_sum">Change the appearance of AntennaPod.</string> - + <string name="pref_automatic_download_title">Automatic download</string> + <string name="pref_automatic_download_sum">Configure the automatic download of episodes.</string> + <string name="pref_autodl_wifi_filter_title">Enable Wi-Fi filter</string> + <string name="pref_autodl_wifi_filter_sum">Allow automatic download only for selected Wi-Fi networks.</string> + <!-- Search --> <string name="search_hint">Search for Feeds or Episodes</string> <string name="found_in_shownotes_label">Found in shownotes</string> diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml index ccde3097f..c409c122e 100644 --- a/res/xml/preferences.xml +++ b/res/xml/preferences.xml @@ -36,6 +36,9 @@ android:summary="@string/pref_mobileUpdate_sum" android:title="@string/pref_mobileUpdate_title" /> <CheckBoxPreference android:summary="@string/pref_autoQueue_sum" android:defaultValue="true" android:key="prefAutoQueue" android:title="@string/pref_autoQueue_title"/> + <PreferenceScreen android:summary="@string/pref_automatic_download_sum" android:key="prefAutoDownloadSettings" android:title="@string/pref_automatic_download_title"> + <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/flattr_settings_label" > <PreferenceScreen |