a2d99c6fea
Change-Id: I3aaed3c682ae33da925316a5b9a586796fe71229 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
175 lines
7.0 KiB
XML
Executable File
175 lines
7.0 KiB
XML
Executable File
<?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.
|
|
-->
|
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<EditTextPreference
|
|
android:key="account_description"
|
|
android:title="@string/account_settings_description_label"
|
|
android:summary=""
|
|
android:dialogTitle="@string/account_settings_description_label"
|
|
android:inputType="textCapWords" />
|
|
|
|
<EditTextPreference
|
|
android:key="account_name"
|
|
android:title="@string/account_settings_name_label"
|
|
android:summary=""
|
|
android:dialogTitle="@string/account_settings_name_label"
|
|
android:inputType="textPersonName|textCapWords" />
|
|
|
|
<EditTextPreference
|
|
android:key="account_signature"
|
|
android:title="@string/preferences_signature_title"
|
|
android:singleLine="false"
|
|
android:dialogTitle="@string/preferences_signature_dialog_title" />
|
|
|
|
<PreferenceScreen
|
|
android:key="account_quick_responses"
|
|
android:title="@string/account_settings_edit_quick_responses_label"
|
|
android:summary="@string/account_settings_edit_quick_responses_summary" />
|
|
|
|
<PreferenceCategory
|
|
android:key="data_usage"
|
|
android:title="@string/account_settings_data_usage">
|
|
|
|
<ListPreference
|
|
android:key="account_check_frequency"
|
|
android:order="1"
|
|
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" />
|
|
|
|
<!-- Reserve order#2,3 here for window size (if inserted) -->
|
|
|
|
<CheckBoxPreference
|
|
android:key="account_sync_email"
|
|
android:order="4"
|
|
android:defaultValue="true"
|
|
android:title="@string/account_settings_sync_email_enable"
|
|
android:summary="@string/account_settings_sync_email_summary" />
|
|
<CheckBoxPreference
|
|
android:key="account_sync_contacts"
|
|
android:order="5"
|
|
android:defaultValue="true"
|
|
android:title="@string/account_settings_sync_contacts_enable"
|
|
android:summary="@string/account_settings_sync_contacts_summary" />
|
|
<CheckBoxPreference
|
|
android:key="account_sync_calendar"
|
|
android:order="6"
|
|
android:defaultValue="true"
|
|
android:title="@string/account_settings_sync_calendar_enable"
|
|
android:summary="@string/account_settings_sync_calendar_summary" />
|
|
|
|
<!-- (will hide on POP3 accounts) -->
|
|
<CheckBoxPreference
|
|
android:key="account_background_attachments"
|
|
android:order="7"
|
|
android:title="@string/account_settings_background_attachments_label"
|
|
android:summary="@string/account_settings_background_attachments_summary" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<!-- This category is enabled after the folder preferences are loaded -->
|
|
<PreferenceCategory
|
|
android:enabled="false"
|
|
android:key="account_notifications"
|
|
android:title="@string/account_settings_notifications">
|
|
|
|
<CheckBoxPreference
|
|
android:key="notifications-enabled"
|
|
android:title="@string/account_settings_notify_label"
|
|
android:defaultValue="true"
|
|
android:summary="@string/account_settings_notify_summary" />
|
|
|
|
<Preference
|
|
android:key="notification-ringtone"
|
|
android:dependency="notifications-enabled"
|
|
android:title="@string/account_settings_ringtone" />
|
|
|
|
<CheckBoxPreference
|
|
android:key="notification-vibrate"
|
|
android:dependency="notifications-enabled"
|
|
android:defaultValue="false"
|
|
android:title="@string/label_notification_vibrate_title" />
|
|
|
|
<com.android.mail.preferences.notifications.FolderNotificationLightPreference
|
|
android:key="notification-lights"
|
|
android:dependency="notifications-enabled"
|
|
android:defaultValue=""
|
|
android:title="@string/label_notification_lights_title" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:key="system_folders"
|
|
android:title="@string/system_folders_title">
|
|
|
|
<Preference
|
|
android:key="system_folders_trash"
|
|
android:layout="?android:attr/preferenceLayoutChild"
|
|
android:title="@string/system_folders_trash_title"
|
|
android:summary="@string/system_folders_trash_summary"
|
|
android:dialogTitle="@string/system_folders_trash_dlg"
|
|
/>
|
|
|
|
<Preference
|
|
android:key="system_folders_sent"
|
|
android:layout="?android:attr/preferenceLayoutChild"
|
|
android:title="@string/system_folders_sent_title"
|
|
android:summary="@string/system_folders_sent_summary"
|
|
android:dialogTitle="@string/system_folders_sent_dlg"
|
|
/>
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:key="account_servers"
|
|
android:title="@string/account_settings_servers">
|
|
|
|
<PreferenceScreen
|
|
android:key="incoming"
|
|
android:title="@string/account_settings_incoming_label"
|
|
android:summary="@string/account_settings_incoming_summary" />
|
|
|
|
<PreferenceScreen
|
|
android:key="outgoing"
|
|
android:title="@string/account_settings_outgoing_label"
|
|
android:summary="@string/account_settings_outgoing_summary" />
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:key="account_policies"
|
|
android:title="@string/account_settings_policies">
|
|
|
|
<com.android.email.activity.setup.PolicyListPreference
|
|
android:key="policies_enforced"
|
|
android:title="@string/account_settings_enforced_label"
|
|
android:summary="@string/account_settings_enforced_summary" />
|
|
|
|
<com.android.email.activity.setup.PolicyListPreference
|
|
android:key="policies_unsupported"
|
|
android:title="@string/account_settings_unsupported_label"
|
|
android:summary="@string/account_settings_unsupported_summary" />
|
|
|
|
<Preference
|
|
android:key="policies_retry_account"
|
|
android:title="@string/account_settings_retry_label"
|
|
android:summary="@string/account_settings_retry_summary" />
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen>
|