diff options
author | lookshe <github@lookshe.org> | 2015-04-12 20:59:12 +0200 |
---|---|---|
committer | lookshe <github@lookshe.org> | 2015-04-12 20:59:12 +0200 |
commit | 56e695cf1be3c519d749e3736bdc60a39b43fd8d (patch) | |
tree | 6074c8c9b002f75df1c41c181f2ccc6e66debad2 /src/main/res/xml/preferences.xml | |
parent | 98c09f18a22628eae9c98f6efa861f739677e188 (diff) |
added settings for accepting and downloading files
fix in Settings, initialize with same values like in preferences.xml
Diffstat (limited to '')
-rw-r--r-- | src/main/res/xml/preferences.xml | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/src/main/res/xml/preferences.xml b/src/main/res/xml/preferences.xml index 206fc6b4..72b6a7c8 100644 --- a/src/main/res/xml/preferences.xml +++ b/src/main/res/xml/preferences.xml @@ -16,13 +16,32 @@ android:key="resource" android:summary="@string/pref_xmpp_resource_summary" android:title="@string/pref_xmpp_resource" /> - <ListPreference - android:defaultValue="524288" - android:entries="@array/filesizes" - android:entryValues="@array/filesizes_values" - android:key="auto_accept_file_size" + + <PreferenceScreen android:summary="@string/pref_accept_files_summary" - android:title="@string/pref_accept_files" /> + android:title="@string/pref_accept_files"> + + <CheckBoxPreference + android:defaultValue="true" + android:key="auto_download_file_link" + android:summary="@string/pref_accept_files_download_link_summary" + android:title="@string/pref_accept_files_download_link" /> + + <ListPreference + android:defaultValue="524288" + android:entries="@array/filesizes" + android:entryValues="@array/filesizes_values" + android:key="auto_accept_file_size" + android:summary="@string/pref_accept_files_size_summary" + android:title="@string/pref_accept_files_size" /> + + <CheckBoxPreference + android:defaultValue="true" + android:key="auto_download_file_wlan" + android:summary="@string/pref_accept_files_download_summary" + android:title="@string/pref_accept_files_download" /> + + </PreferenceScreen> <CheckBoxPreference android:defaultValue="true" |