2008-10-27 21:04:44 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- Copyright (C) 2008 The Android Open Source Project
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
|
|
|
|
2010-11-03 22:47:53 -04:00
|
|
|
<!--
|
|
|
|
Make sure to add android:persistent="false" to all preferences to disable saving
|
|
|
|
the preference values to SharedPreferences. We use our own storage mechanism for
|
|
|
|
the preferences. See com.fsck.k9.preferences.Storage.
|
2012-06-06 09:03:46 -04:00
|
|
|
|
|
|
|
Also note that every sub-PreferenceScreen needs an "android:key" parameter so the correct screen
|
|
|
|
can be displayed after the device has been rotated.
|
2010-11-03 22:47:53 -04:00
|
|
|
-->
|
|
|
|
|
2012-03-05 15:04:34 -05:00
|
|
|
<PreferenceScreen
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:key="main">
|
2008-10-27 21:04:44 -04:00
|
|
|
|
2010-10-10 15:29:19 -04:00
|
|
|
<PreferenceScreen
|
2010-10-28 15:07:30 -04:00
|
|
|
android:title="@string/account_settings_general_title"
|
2008-10-27 21:04:44 -04:00
|
|
|
android:key="account_settings">
|
|
|
|
|
|
|
|
<EditTextPreference
|
2010-11-03 22:47:53 -04:00
|
|
|
android:persistent="false"
|
2008-10-27 21:04:44 -04:00
|
|
|
android:key="account_description"
|
2008-10-30 22:01:25 -04:00
|
|
|
android:singleLine="true"
|
2008-10-27 21:04:44 -04:00
|
|
|
android:title="@string/account_settings_description_label"
|
|
|
|
android:summary=""
|
|
|
|
android:dialogTitle="@string/account_settings_description_label" />
|
|
|
|
|
Complete merge of DAmail functionality into K9mail. Following
features are added to K9mail:
1) Show unread message count on each folder
2) Sum unread count of all shown folders in an account to the account display
3) Periodically check selected folders for new mail, not just Inbox
4) Don't refresh folder when opened (unless folder is empty)
5) Show date and time of last sync for each folder
6) Fix timer for automatic periodic sync (use wakelock to assure completion)
7) Optimize local folder queries (speeds up account and folder lists)
8) Show Loading... message in status bar indicating which folder is being synced
9) Eliminate redundant sync of new messages (performance enhancement)
10) Improve notification text for multiple accounts
11) Do not automatically sync folders more often than the account-specific period
12) Use user-configured date and time formats
13) Select which folders are shown, using configurable Classes
14) Select which folders are synced, using configurable Classes
15) Added context (long press) menu to folders, to provide for Refresh
and Folder Settings
16) Status light flashes purple when there are unread messages
17) Folder list more quickly eliminates display of deleted and out-of-Class folders.
18) Delete works
19) Mark all messages as read (in the folder context menu)
20) Notifications only for new unread messages
21) One minute synchronization frequency
22) Deleting an unread message decrements unread counter
23) Notifications work for POP3 accounts
24) Message deletes work for POP3 accounts
25) Explicit errors show in folder list
26) Stack traces saved to folder K9mail-errors
27) Clear pending actions (danger, for emergencies only!)
28) Delete policy in Account settings
29) DNS cache in InetAddress disabled
30) Trapped some crash-causing error conditions
31) Eliminate duplicate copies to Sent folder
32) Prevent crashes due to message listener concurrency
33) Empty Trash
34) Nuclear "Mark all messages as read" (marks all messages as read in
server-side folder, irrespective of which messages have been downloaded)
35) Forward (alternate) to allow forwarding email through other programs
36) Accept text/plain Intents to allow other programs to send email through K9mail
37) Displays Outbox sending status
38) Manual retry of outbox sending when "Refresh"ing Outbox
39) Folder error status is persisted
40) Ability to log to arbitrary file
Fixes K9 issues 11, 23, 24, 65, 69, 71, 79, 81, 82, 83, 87, 101, 104,
107, 120, 148, 154
2008-12-30 22:49:09 -05:00
|
|
|
<CheckBoxPreference
|
2010-11-03 22:47:53 -04:00
|
|
|
android:persistent="false"
|
Complete merge of DAmail functionality into K9mail. Following
features are added to K9mail:
1) Show unread message count on each folder
2) Sum unread count of all shown folders in an account to the account display
3) Periodically check selected folders for new mail, not just Inbox
4) Don't refresh folder when opened (unless folder is empty)
5) Show date and time of last sync for each folder
6) Fix timer for automatic periodic sync (use wakelock to assure completion)
7) Optimize local folder queries (speeds up account and folder lists)
8) Show Loading... message in status bar indicating which folder is being synced
9) Eliminate redundant sync of new messages (performance enhancement)
10) Improve notification text for multiple accounts
11) Do not automatically sync folders more often than the account-specific period
12) Use user-configured date and time formats
13) Select which folders are shown, using configurable Classes
14) Select which folders are synced, using configurable Classes
15) Added context (long press) menu to folders, to provide for Refresh
and Folder Settings
16) Status light flashes purple when there are unread messages
17) Folder list more quickly eliminates display of deleted and out-of-Class folders.
18) Delete works
19) Mark all messages as read (in the folder context menu)
20) Notifications only for new unread messages
21) One minute synchronization frequency
22) Deleting an unread message decrements unread counter
23) Notifications work for POP3 accounts
24) Message deletes work for POP3 accounts
25) Explicit errors show in folder list
26) Stack traces saved to folder K9mail-errors
27) Clear pending actions (danger, for emergencies only!)
28) Delete policy in Account settings
29) DNS cache in InetAddress disabled
30) Trapped some crash-causing error conditions
31) Eliminate duplicate copies to Sent folder
32) Prevent crashes due to message listener concurrency
33) Empty Trash
34) Nuclear "Mark all messages as read" (marks all messages as read in
server-side folder, irrespective of which messages have been downloaded)
35) Forward (alternate) to allow forwarding email through other programs
36) Accept text/plain Intents to allow other programs to send email through K9mail
37) Displays Outbox sending status
38) Manual retry of outbox sending when "Refresh"ing Outbox
39) Folder error status is persisted
40) Ability to log to arbitrary file
Fixes K9 issues 11, 23, 24, 65, 69, 71, 79, 81, 82, 83, 87, 101, 104,
107, 120, 148, 154
2008-12-30 22:49:09 -05:00
|
|
|
android:key="account_default"
|
|
|
|
android:title="@string/account_settings_default_label"
|
|
|
|
android:summary="@string/account_settings_default_summary" />
|
2010-07-05 09:41:52 -04:00
|
|
|
|
2012-12-18 19:06:13 -05:00
|
|
|
<Preference
|
|
|
|
android:persistent="false"
|
|
|
|
android:key="chip_color"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:title="@string/account_settings_color_label"
|
|
|
|
android:summary="@string/account_settings_color_summary" />
|
2010-08-07 18:38:08 -04:00
|
|
|
|
2010-10-10 15:29:19 -04:00
|
|
|
</PreferenceScreen>
|
|
|
|
|
2012-03-18 23:44:41 -04:00
|
|
|
<PreferenceScreen
|
2012-12-18 19:06:13 -05:00
|
|
|
android:title="@string/account_settings_reading_mail"
|
|
|
|
android:key="reading_mail">
|
|
|
|
|
|
|
|
<ListPreference
|
|
|
|
android:persistent="false"
|
|
|
|
android:key="show_pictures_enum"
|
|
|
|
android:title="@string/account_settings_show_pictures_label"
|
|
|
|
android:entries="@array/account_settings_show_pictures_entries"
|
|
|
|
android:entryValues="@array/account_settings_show_pictures_values"
|
|
|
|
android:dialogTitle="@string/account_settings_show_pictures_label" />
|
2012-03-18 23:44:41 -04:00
|
|
|
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:persistent="false"
|
|
|
|
android:key="mark_message_as_read_on_view"
|
|
|
|
android:title="@string/account_settings_mark_message_as_read_on_view_label"
|
|
|
|
android:summary="@string/account_settings_mark_message_as_read_on_view_summary" />
|
|
|
|
|
|
|
|
</PreferenceScreen>
|
|
|
|
|
2010-11-03 22:47:53 -04:00
|
|
|
<PreferenceScreen
|
|
|
|
android:title="@string/account_settings_sync"
|
|
|
|
android:key="incoming_prefs">
|
2010-08-07 18:38:08 -04:00
|
|
|
|
2008-10-27 21:04:44 -04:00
|
|
|
<ListPreference
|
2010-11-03 22:47:53 -04:00
|
|
|
android:persistent="false"
|
2010-10-10 15:29:19 -04:00
|
|
|
android:key="account_display_count"
|
|
|
|
android:title="@string/account_settings_mail_display_count_label"
|
|
|
|
android:entries="@array/account_settings_display_count_entries"
|
|
|
|
android:entryValues="@array/account_settings_display_count_values"
|
|
|
|
android:dialogTitle="@string/account_settings_mail_display_count_label" />
|
2010-05-30 17:20:47 -04:00
|
|
|
|
|
|
|
<ListPreference
|
2010-11-03 22:47:53 -04:00
|
|
|
android:persistent="false"
|
2010-05-30 17:20:47 -04:00
|
|
|
android:key="account_message_age"
|
|
|
|
android:title="@string/account_settings_message_age_label"
|
|
|
|
android:entries="@array/account_settings_message_age_entries"
|
|
|
|
android:entryValues="@array/account_settings_message_age_values"
|
|
|
|
android:dialogTitle="@string/account_settings_message_age_label" />
|
2010-07-05 09:41:52 -04:00
|
|
|
|
2010-07-11 07:59:14 -04:00
|
|
|
<ListPreference
|
2010-11-03 22:47:53 -04:00
|
|
|
android:persistent="false"
|
2010-07-11 07:59:14 -04:00
|
|
|
android:key="account_autodownload_size"
|
|
|
|
android:title="@string/account_settings_autodownload_message_size_label"
|
|
|
|
android:entries="@array/account_settings_autodownload_message_size_entries"
|
|
|
|
android:entryValues="@array/account_settings_autodownload_message_size_values"
|
|
|
|
android:dialogTitle="@string/account_settings_autodownload_message_size_label" />
|
|
|
|
|
2010-10-10 15:29:19 -04:00
|
|
|
<ListPreference
|
2010-11-03 22:47:53 -04:00
|
|
|
android:persistent="false"
|
2010-10-10 15:29:19 -04:00
|
|
|
android:key="account_check_frequency"
|
|
|
|
android:title="@string/account_settings_mail_check_frequency_label"
|
|
|
|
android:entries="@array/account_settings_check_frequency_entries"
|
|
|
|
android:entryValues="@array/account_settings_check_frequency_values"
|
|
|
|
android:dialogTitle="@string/account_settings_mail_check_frequency_label" />
|
2010-11-03 22:47:53 -04:00
|
|
|
|
2009-11-14 10:07:12 -05:00
|
|
|
<ListPreference
|
2010-11-03 22:47:53 -04:00
|
|
|
android:persistent="false"
|
2009-11-14 10:07:12 -05:00
|
|
|
android:key="folder_sync_mode"
|
|
|
|
android:title="@string/account_settings_folder_sync_mode_label"
|
|
|
|
android:entries="@array/account_settings_folder_sync_mode_entries"
|
|
|
|
android:entryValues="@array/account_settings_folder_sync_mode_values"
|
2010-07-05 09:41:52 -04:00
|
|
|
android:dialogTitle="@string/account_settings_folder_sync_mode_label" />
|
|
|
|
|
|
|
|
<ListPreference
|
2010-11-03 22:47:53 -04:00
|
|
|
android:persistent="false"
|
2009-11-14 09:07:02 -05:00
|
|
|
android:key="folder_push_mode"
|
|
|
|
android:title="@string/account_settings_folder_push_mode_label"
|
|
|
|
android:entries="@array/account_settings_folder_push_mode_entries"
|
|
|
|
android:entryValues="@array/account_settings_folder_push_mode_values"
|
2010-07-05 09:41:52 -04:00
|
|
|
android:dialogTitle="@string/account_settings_folder_push_mode_label" />
|
|
|
|
|
2010-11-03 22:47:53 -04:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:persistent="false"
|
2010-10-10 15:29:19 -04:00
|
|
|
android:key="account_sync_remote_deletetions"
|
|
|
|
android:title="@string/account_settings_sync_remote_deletetions_label"
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:summary="@string/account_settings_sync_remote_deletetions_summary" />
|
|
|
|
|
2009-11-16 12:50:40 -05:00
|
|
|
<ListPreference
|
2010-11-03 22:47:53 -04:00
|
|
|
android:persistent="false"
|
2010-07-05 09:41:52 -04:00
|
|
|
android:key="delete_policy"
|
|
|
|
android:title="@string/account_setup_incoming_delete_policy_label"
|
|
|
|
android:entries="@array/account_setup_delete_policy_entries"
|
|
|
|
android:entryValues="@array/account_setup_delete_policy_values"
|
|
|
|
android:dialogTitle="@string/account_setup_incoming_delete_policy_label" />
|
|
|
|
|
2010-11-03 22:47:53 -04:00
|
|
|
<ListPreference
|
|
|
|
android:persistent="false"
|
Implementation of complete IMAP two-phase "delete/expunge" behavior.
On each IMAP account, the expunge behavior can be set to expunge
messages in a folder as soon as a move or delete is performed on the
folder ("immediately"), each time the folder is polled, or only when
executed manually.
In the Message List, there is now an Expunge action in the option
menu.
In the Folder List, there is now an Expunge action in the context
menu (long-press on the folder).
For IMAP accounts, it is also possible to disable the copying of deleted messages to the
Trash folder, by setting the Trash folder to -NONE-.
Fixes Issue 536.
Separately, in WebDAV accounts, the user can now choose the
server-side equivalents of the special folders, just like for IMAP.
2009-12-20 18:13:49 -05:00
|
|
|
android:key="expunge_policy"
|
|
|
|
android:title="@string/account_setup_expunge_policy_label"
|
|
|
|
android:entries="@array/account_setup_expunge_policy_entries"
|
|
|
|
android:entryValues="@array/account_setup_expunge_policy_values"
|
|
|
|
android:dialogTitle="@string/account_setup_expunge_policy_label" />
|
2010-11-03 22:47:53 -04:00
|
|
|
|
2010-10-10 20:08:39 -04:00
|
|
|
<PreferenceScreen
|
|
|
|
android:key="incoming"
|
|
|
|
android:title="@string/account_settings_incoming_label"
|
|
|
|
android:summary="@string/account_settings_incoming_summary" />
|
2010-11-03 22:47:53 -04:00
|
|
|
|
|
|
|
<PreferenceScreen
|
2010-10-10 20:08:47 -04:00
|
|
|
android:key="push_advanced"
|
|
|
|
android:title="@string/account_settings_push_advanced_title">
|
2010-10-10 15:29:19 -04:00
|
|
|
|
2010-11-03 22:47:53 -04:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:persistent="false"
|
|
|
|
android:key="push_poll_on_connect"
|
|
|
|
android:title="@string/push_poll_on_connect_label" />
|
|
|
|
|
|
|
|
<ListPreference
|
|
|
|
android:persistent="false"
|
|
|
|
android:key="max_push_folders"
|
|
|
|
android:title="@string/account_setup_push_limit_label"
|
|
|
|
android:entries="@array/account_settings_push_limit_entries"
|
|
|
|
android:entryValues="@array/account_settings_push_limit_values" />
|
|
|
|
|
|
|
|
<ListPreference
|
|
|
|
android:persistent="false"
|
|
|
|
android:key="idle_refresh_period"
|
|
|
|
android:title="@string/idle_refresh_period_label"
|
|
|
|
android:entries="@array/idle_refresh_period_entries"
|
|
|
|
android:entryValues="@array/idle_refresh_period_values" />
|
2010-10-10 15:29:19 -04:00
|
|
|
|
2010-11-03 22:47:53 -04:00
|
|
|
</PreferenceScreen>
|
|
|
|
|
|
|
|
</PreferenceScreen>
|
|
|
|
|
|
|
|
<PreferenceScreen
|
|
|
|
android:title="@string/account_settings_composition"
|
|
|
|
android:key="composing">
|
2010-08-07 18:38:08 -04:00
|
|
|
|
2010-10-10 15:29:19 -04:00
|
|
|
<PreferenceScreen
|
|
|
|
android:key="composition"
|
|
|
|
android:summary="@string/account_settings_composition_summary"
|
|
|
|
android:title="@string/account_settings_composition_label" />
|
|
|
|
|
|
|
|
<PreferenceScreen
|
|
|
|
android:key="manage_identities"
|
|
|
|
android:title="@string/account_settings_identities_label"
|
|
|
|
android:summary="@string/account_settings_identities_summary" />
|
2009-11-16 12:50:40 -05:00
|
|
|
|
2011-01-12 18:48:28 -05:00
|
|
|
<ListPreference
|
|
|
|
android:persistent="false"
|
|
|
|
android:key="message_format"
|
|
|
|
android:title="@string/account_settings_message_format_label"
|
|
|
|
android:entries="@array/account_settings_message_format_entries"
|
|
|
|
android:entryValues="@array/account_settings_message_format_values" />
|
|
|
|
|
2012-08-09 21:38:10 -04:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:persistent="false"
|
|
|
|
android:key="always_show_cc_bcc"
|
2013-07-09 17:09:51 -04:00
|
|
|
android:title="@string/account_settings_always_show_cc_bcc_label" />
|
2012-08-09 21:38:10 -04:00
|
|
|
|
2011-08-27 20:42:27 -04:00
|
|
|
<CheckBoxPreference
|
2012-02-21 09:16:36 -05:00
|
|
|
android:persistent="false"
|
|
|
|
android:key="message_read_receipt"
|
|
|
|
android:title="@string/account_settings_message_read_receipt_label"
|
|
|
|
android:summary="@string/account_settings_message_read_receipt_summary" />
|
2011-08-27 20:42:27 -04:00
|
|
|
|
2011-01-05 18:58:14 -05:00
|
|
|
<ListPreference
|
|
|
|
android:persistent="false"
|
|
|
|
android:key="quote_style"
|
|
|
|
android:title="@string/account_settings_quote_style_label"
|
|
|
|
android:entries="@array/account_settings_quote_style_entries"
|
|
|
|
android:entryValues="@array/account_settings_quote_style_values" />
|
2011-05-14 11:15:01 -04:00
|
|
|
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:persistent="false"
|
|
|
|
android:key="default_quoted_text_shown"
|
|
|
|
android:title="@string/account_settings_default_quoted_text_shown_label"
|
2011-05-24 11:15:13 -04:00
|
|
|
android:defaultValue="true"
|
2011-05-14 11:15:01 -04:00
|
|
|
android:summary="@string/account_settings_default_quoted_text_shown_summary" />
|
2011-01-05 18:58:14 -05:00
|
|
|
|
2010-10-10 15:29:19 -04:00
|
|
|
<CheckBoxPreference
|
2010-11-03 22:47:53 -04:00
|
|
|
android:persistent="false"
|
2010-10-10 15:29:19 -04:00
|
|
|
android:key="reply_after_quote"
|
|
|
|
android:title="@string/account_settings_reply_after_quote_label"
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:summary="@string/account_settings_reply_after_quote_summary" />
|
2010-11-03 22:47:53 -04:00
|
|
|
|
2011-11-14 16:58:01 -05:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:persistent="false"
|
|
|
|
android:key="strip_signature"
|
|
|
|
android:title="@string/account_settings_strip_signature_label"
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:summary="@string/account_settings_strip_signature_summary" />
|
|
|
|
|
2010-10-10 15:29:19 -04:00
|
|
|
<EditTextPreference
|
2010-11-03 22:47:53 -04:00
|
|
|
android:persistent="false"
|
2010-10-10 15:29:19 -04:00
|
|
|
android:key="account_quote_prefix"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:title="@string/account_settings_quote_prefix_label"
|
|
|
|
android:summary=""
|
|
|
|
android:dialogTitle="@string/account_settings_quote_prefix_label" />
|
2010-11-03 22:47:53 -04:00
|
|
|
|
2010-10-10 20:08:39 -04:00
|
|
|
<PreferenceScreen
|
|
|
|
android:key="outgoing"
|
|
|
|
android:title="@string/account_settings_outgoing_label"
|
|
|
|
android:summary="@string/account_settings_outgoing_summary" />
|
2010-10-10 15:29:19 -04:00
|
|
|
|
|
|
|
</PreferenceScreen>
|
2010-11-03 22:47:53 -04:00
|
|
|
|
|
|
|
<PreferenceScreen
|
|
|
|
android:title="@string/account_settings_folders"
|
|
|
|
android:key="folders">
|
2010-07-05 09:41:52 -04:00
|
|
|
|
2010-11-16 22:43:02 -05:00
|
|
|
<ListPreference
|
2010-11-03 22:47:53 -04:00
|
|
|
android:persistent="false"
|
2009-11-16 12:50:40 -05:00
|
|
|
android:key="account_setup_auto_expand_folder"
|
|
|
|
android:title="@string/account_setup_auto_expand_folder"
|
2010-08-07 18:38:08 -04:00
|
|
|
android:summary="" />
|
|
|
|
|
2008-12-11 00:25:59 -05:00
|
|
|
<ListPreference
|
2010-11-03 22:47:53 -04:00
|
|
|
android:persistent="false"
|
Complete merge of DAmail functionality into K9mail. Following
features are added to K9mail:
1) Show unread message count on each folder
2) Sum unread count of all shown folders in an account to the account display
3) Periodically check selected folders for new mail, not just Inbox
4) Don't refresh folder when opened (unless folder is empty)
5) Show date and time of last sync for each folder
6) Fix timer for automatic periodic sync (use wakelock to assure completion)
7) Optimize local folder queries (speeds up account and folder lists)
8) Show Loading... message in status bar indicating which folder is being synced
9) Eliminate redundant sync of new messages (performance enhancement)
10) Improve notification text for multiple accounts
11) Do not automatically sync folders more often than the account-specific period
12) Use user-configured date and time formats
13) Select which folders are shown, using configurable Classes
14) Select which folders are synced, using configurable Classes
15) Added context (long press) menu to folders, to provide for Refresh
and Folder Settings
16) Status light flashes purple when there are unread messages
17) Folder list more quickly eliminates display of deleted and out-of-Class folders.
18) Delete works
19) Mark all messages as read (in the folder context menu)
20) Notifications only for new unread messages
21) One minute synchronization frequency
22) Deleting an unread message decrements unread counter
23) Notifications work for POP3 accounts
24) Message deletes work for POP3 accounts
25) Explicit errors show in folder list
26) Stack traces saved to folder K9mail-errors
27) Clear pending actions (danger, for emergencies only!)
28) Delete policy in Account settings
29) DNS cache in InetAddress disabled
30) Trapped some crash-causing error conditions
31) Eliminate duplicate copies to Sent folder
32) Prevent crashes due to message listener concurrency
33) Empty Trash
34) Nuclear "Mark all messages as read" (marks all messages as read in
server-side folder, irrespective of which messages have been downloaded)
35) Forward (alternate) to allow forwarding email through other programs
36) Accept text/plain Intents to allow other programs to send email through K9mail
37) Displays Outbox sending status
38) Manual retry of outbox sending when "Refresh"ing Outbox
39) Folder error status is persisted
40) Ability to log to arbitrary file
Fixes K9 issues 11, 23, 24, 65, 69, 71, 79, 81, 82, 83, 87, 101, 104,
107, 120, 148, 154
2008-12-30 22:49:09 -05:00
|
|
|
android:key="folder_display_mode"
|
|
|
|
android:title="@string/account_settings_folder_display_mode_label"
|
|
|
|
android:entries="@array/account_settings_folder_display_mode_entries"
|
|
|
|
android:entryValues="@array/account_settings_folder_display_mode_values"
|
|
|
|
android:dialogTitle="@string/account_settings_folder_display_mode_label" />
|
2010-07-05 09:41:52 -04:00
|
|
|
|
2010-11-03 22:47:53 -04:00
|
|
|
<ListPreference
|
|
|
|
android:persistent="false"
|
2009-03-05 02:32:45 -05:00
|
|
|
android:key="folder_target_mode"
|
|
|
|
android:title="@string/account_settings_folder_target_mode_label"
|
|
|
|
android:entries="@array/account_settings_folder_target_mode_entries"
|
|
|
|
android:entryValues="@array/account_settings_folder_target_mode_values"
|
|
|
|
android:dialogTitle="@string/account_settings_folder_target_mode_label" />
|
2010-07-05 09:41:52 -04:00
|
|
|
|
2010-11-03 22:47:53 -04:00
|
|
|
<ListPreference
|
|
|
|
android:persistent="false"
|
2010-04-05 22:54:48 -04:00
|
|
|
android:key="searchable_folders"
|
|
|
|
android:title="@string/account_settings_searchable_label"
|
|
|
|
android:entries="@array/account_settings_searchable_entries"
|
|
|
|
android:entryValues="@array/account_settings_searchable_values"
|
|
|
|
android:dialogTitle="@string/account_settings_searchable_label" />
|
2010-07-05 09:41:52 -04:00
|
|
|
|
2010-11-16 22:43:02 -05:00
|
|
|
<ListPreference
|
|
|
|
android:persistent="false"
|
|
|
|
android:key="archive_folder"
|
|
|
|
android:title="@string/archive_folder_label"
|
|
|
|
android:dialogTitle="@string/archive_folder_label" />
|
2011-02-19 22:47:28 -05:00
|
|
|
|
2010-11-16 22:43:02 -05:00
|
|
|
<ListPreference
|
|
|
|
android:persistent="false"
|
|
|
|
android:key="drafts_folder"
|
|
|
|
android:title="@string/drafts_folder_label"
|
|
|
|
android:dialogTitle="@string/drafts_folder_label" />
|
|
|
|
|
|
|
|
<ListPreference
|
|
|
|
android:persistent="false"
|
|
|
|
android:key="sent_folder"
|
|
|
|
android:title="@string/sent_folder_label"
|
|
|
|
android:dialogTitle="@string/sent_folder_label" />
|
|
|
|
|
|
|
|
<ListPreference
|
|
|
|
android:persistent="false"
|
|
|
|
android:key="spam_folder"
|
|
|
|
android:title="@string/spam_folder_label"
|
|
|
|
android:dialogTitle="@string/spam_folder_label" />
|
|
|
|
<ListPreference
|
|
|
|
android:persistent="false"
|
|
|
|
android:key="trash_folder"
|
|
|
|
android:title="@string/trash_folder_label"
|
|
|
|
android:dialogTitle="@string/trash_folder_label" />
|
|
|
|
|
2010-10-10 15:29:19 -04:00
|
|
|
</PreferenceScreen>
|
2010-11-13 16:40:56 -05:00
|
|
|
<PreferenceScreen
|
|
|
|
android:title="@string/account_settings_storage_title"
|
2012-06-06 09:03:46 -04:00
|
|
|
android:key="storage_provider">
|
2010-11-13 16:40:56 -05:00
|
|
|
|
|
|
|
<ListPreference
|
|
|
|
android:persistent="false"
|
|
|
|
android:key="local_storage_provider"
|
|
|
|
android:title="@string/local_storage_provider_label"
|
|
|
|
android:dialogTitle="@string/local_storage_provider_label"
|
|
|
|
/>
|
|
|
|
</PreferenceScreen>
|
2010-07-27 08:10:09 -04:00
|
|
|
|
2010-11-03 22:47:53 -04:00
|
|
|
<PreferenceScreen
|
2010-11-28 15:28:26 -05:00
|
|
|
android:title="@string/notifications_title"
|
2010-11-03 22:47:53 -04:00
|
|
|
android:key="notifications">
|
2008-10-27 21:04:44 -04:00
|
|
|
|
|
|
|
<CheckBoxPreference
|
2010-11-03 22:47:53 -04:00
|
|
|
android:persistent="false"
|
2008-10-27 21:04:44 -04:00
|
|
|
android:key="account_notify"
|
|
|
|
android:title="@string/account_settings_notify_label"
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:summary="@string/account_settings_notify_summary" />
|
2010-07-05 09:41:52 -04:00
|
|
|
|
2014-08-06 05:04:07 -04:00
|
|
|
<ListPreference
|
|
|
|
android:persistent="false"
|
|
|
|
android:key="folder_notify_new_mail_mode"
|
|
|
|
android:dependency="account_notify"
|
|
|
|
android:title="@string/account_settings_folder_notify_new_mail_mode_label"
|
|
|
|
android:entries="@array/account_settings_folder_notify_new_mail_mode_entries"
|
|
|
|
android:entryValues="@array/account_settings_folder_notify_new_mail_mode_values"
|
|
|
|
android:dialogTitle="@string/account_settings_folder_notify_new_mail_mode_label" />
|
|
|
|
|
2010-11-03 22:47:53 -04:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:persistent="false"
|
2009-11-22 14:42:44 -05:00
|
|
|
android:key="account_notify_self"
|
|
|
|
android:dependency="account_notify"
|
|
|
|
android:title="@string/account_settings_notify_self_label"
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:summary="@string/account_settings_notify_self_summary" />
|
2010-07-05 09:41:52 -04:00
|
|
|
|
2010-11-03 22:47:53 -04:00
|
|
|
<!--
|
|
|
|
We can't disable persisting the ringtone value to SharedPreferences
|
|
|
|
because it's needed to actually access the value.
|
|
|
|
|
|
|
|
See com.fsck.k9.activity.setup.AccountSettings
|
|
|
|
-->
|
2008-10-27 21:04:44 -04:00
|
|
|
<RingtonePreference
|
|
|
|
android:dependency="account_notify"
|
|
|
|
android:key="account_ringtone"
|
|
|
|
android:title="@string/account_settings_ringtone"
|
|
|
|
android:ringtoneType="notification"
|
|
|
|
android:defaultValue="content://settings/system/notification_sound" />
|
|
|
|
|
|
|
|
<CheckBoxPreference
|
2010-11-03 22:47:53 -04:00
|
|
|
android:persistent="false"
|
2008-10-27 21:04:44 -04:00
|
|
|
android:dependency="account_notify"
|
|
|
|
android:key="account_vibrate"
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:title="@string/account_settings_vibrate_enable"
|
|
|
|
android:summary="@string/account_settings_vibrate_summary" />
|
2010-08-07 18:38:08 -04:00
|
|
|
|
2010-07-02 10:47:01 -04:00
|
|
|
<ListPreference
|
2010-11-03 22:47:53 -04:00
|
|
|
android:persistent="false"
|
2013-01-19 06:49:16 -05:00
|
|
|
android:layout="?android:attr/preferenceLayoutChild"
|
2010-07-02 10:47:01 -04:00
|
|
|
android:dependency="account_vibrate"
|
|
|
|
android:key="account_vibrate_pattern"
|
|
|
|
android:title="@string/account_settings_vibrate_pattern_label"
|
|
|
|
android:entries="@array/account_settings_vibrate_pattern_entries"
|
|
|
|
android:entryValues="@array/account_settings_vibrate_pattern_values"
|
|
|
|
android:dialogTitle="@string/account_settings_vibrate_pattern_label" />
|
2010-08-07 18:38:08 -04:00
|
|
|
|
2010-08-28 10:00:34 -04:00
|
|
|
<ListPreference
|
2010-11-03 22:47:53 -04:00
|
|
|
android:persistent="false"
|
2013-01-19 06:49:16 -05:00
|
|
|
android:layout="?android:attr/preferenceLayoutChild"
|
2010-07-02 10:47:01 -04:00
|
|
|
android:dependency="account_vibrate"
|
|
|
|
android:key="account_vibrate_times"
|
|
|
|
android:title="@string/account_settings_vibrate_times"
|
2010-08-28 10:00:34 -04:00
|
|
|
android:entries="@array/account_settings_vibrate_times_label"
|
|
|
|
android:entryValues="@array/account_settings_vibrate_times_label"
|
2010-07-02 10:47:01 -04:00
|
|
|
android:dialogTitle="@string/account_settings_vibrate_times" />
|
2008-10-27 21:04:44 -04:00
|
|
|
|
2010-09-19 16:54:43 -04:00
|
|
|
<CheckBoxPreference
|
2010-11-03 22:47:53 -04:00
|
|
|
android:persistent="false"
|
2010-09-19 16:54:43 -04:00
|
|
|
android:key="account_led"
|
|
|
|
android:dependency="account_notify"
|
|
|
|
android:title="@string/account_settings_led_label"
|
|
|
|
android:summary="@string/account_settings_led_summary"
|
2010-11-03 22:47:53 -04:00
|
|
|
android:defaultValue="true" />
|
|
|
|
|
2010-10-10 15:29:19 -04:00
|
|
|
<Preference
|
2010-11-03 22:47:53 -04:00
|
|
|
android:persistent="false"
|
2010-10-10 15:29:19 -04:00
|
|
|
android:key="led_color"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:title="@string/account_settings_led_color_label"
|
|
|
|
android:summary="@string/account_settings_led_color_summary" />
|
2010-09-19 16:54:43 -04:00
|
|
|
|
2010-08-07 18:38:08 -04:00
|
|
|
<CheckBoxPreference
|
2010-11-03 22:47:53 -04:00
|
|
|
android:persistent="false"
|
2009-01-18 11:42:55 -05:00
|
|
|
android:key="account_notify_sync"
|
|
|
|
android:title="@string/account_settings_notify_sync_label"
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:summary="@string/account_settings_notify_sync_summary" />
|
2010-08-07 18:38:08 -04:00
|
|
|
|
|
|
|
<CheckBoxPreference
|
2010-11-03 22:47:53 -04:00
|
|
|
android:persistent="false"
|
2010-05-12 01:35:08 -04:00
|
|
|
android:key="notification_opens_unread"
|
|
|
|
android:title="@string/account_settings_notification_opens_unread_label"
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:summary="@string/account_settings_notification_opens_unread_summary" />
|
2009-01-18 11:42:55 -05:00
|
|
|
|
2010-10-10 15:29:19 -04:00
|
|
|
</PreferenceScreen>
|
|
|
|
|
2014-01-31 16:10:28 -05:00
|
|
|
<PreferenceScreen
|
|
|
|
android:title="@string/account_settings_search"
|
|
|
|
android:key="search">
|
|
|
|
|
2012-03-05 15:04:34 -05:00
|
|
|
<CheckBoxPreference
|
2012-09-22 12:40:46 -04:00
|
|
|
android:key="remote_search_enabled"
|
|
|
|
android:title="@string/account_settings_remote_search_enabled"
|
|
|
|
android:summary="@string/account_settings_remote_search_enabled_summary"
|
2012-03-05 15:04:34 -05:00
|
|
|
android:persistent="false"/>
|
|
|
|
|
|
|
|
<ListPreference
|
2014-01-31 16:10:28 -05:00
|
|
|
android:persistent="false"
|
2012-03-05 15:04:34 -05:00
|
|
|
android:entries="@array/account_settings_remote_search_num_results_entries"
|
|
|
|
android:entryValues="@array/account_settings_remote_search_num_results_values"
|
|
|
|
android:key="account_remote_search_num_results"
|
|
|
|
android:title="@string/account_settings_remote_search_num_label"
|
|
|
|
android:dialogTitle="@string/account_settings_remote_search_num_label"
|
2012-09-22 12:40:46 -04:00
|
|
|
android:dependency="remote_search_enabled"/>
|
2012-03-05 15:04:34 -05:00
|
|
|
|
2013-03-09 21:00:16 -05:00
|
|
|
<!-- Temporarily removed
|
2012-03-05 15:04:34 -05:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:key="account_remote_search_full_text"
|
|
|
|
android:title="@string/account_settings_remote_search_full_text"
|
|
|
|
android:summary="@string/account_settings_remote_search_full_text_summary"
|
|
|
|
android:persistent="false"
|
2012-09-22 12:40:46 -04:00
|
|
|
android:dependency="remote_search_enabled"/>
|
2013-03-09 21:00:16 -05:00
|
|
|
-->
|
2012-03-05 15:04:34 -05:00
|
|
|
|
|
|
|
</PreferenceScreen>
|
|
|
|
|
2010-11-03 22:47:53 -04:00
|
|
|
<PreferenceScreen
|
|
|
|
android:title="@string/account_settings_crypto"
|
|
|
|
android:key="crypto">
|
2010-10-10 15:29:19 -04:00
|
|
|
|
2014-02-21 11:38:20 -05:00
|
|
|
<org.openintents.openpgp.util.OpenPgpListPreference
|
2010-11-03 22:47:53 -04:00
|
|
|
android:persistent="false"
|
2010-10-10 15:29:19 -04:00
|
|
|
android:key="crypto_app"
|
2014-02-21 11:38:20 -05:00
|
|
|
android:title="@string/account_settings_crypto_app" />
|
2010-10-10 15:29:19 -04:00
|
|
|
|
|
|
|
</PreferenceScreen>
|
2008-10-27 21:04:44 -04:00
|
|
|
|
|
|
|
</PreferenceScreen>
|