blob: 7b6fa9bd626a3126221bdb7cc65b6e66e5054ce1 [file] [log] [blame]
The Android Open Source Project96c5af42009-03-03 19:32:22 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
18
Ben Komalo72a24f12011-07-22 15:15:47 -070019 <EditTextPreference
20 android:key="account_description"
21 android:title="@string/account_settings_description_label"
22 android:summary=""
23 android:dialogTitle="@string/account_settings_description_label"
24 android:inputType="textCapWords" />
25
26 <EditTextPreference
27 android:key="account_name"
28 android:title="@string/account_settings_name_label"
29 android:summary=""
30 android:dialogTitle="@string/account_settings_name_label"
31 android:inputType="textPersonName|textCapWords" />
32
33 <EditTextPreference
34 android:key="account_signature"
35 android:title="@string/account_settings_signature_label"
36 android:summary="@string/account_settings_signature_hint"
37 android:dialogTitle="@string/account_settings_signature_label"
38 android:inputType="textCapSentences|textMultiLine" />
39
40 <PreferenceScreen
41 android:key="account_quick_responses"
42 android:title="@string/account_settings_edit_quick_responses_label"
43 android:summary="@string/account_settings_edit_quick_responses_summary" />
44
45 <CheckBoxPreference
46 android:key="account_default"
47 android:title="@string/account_settings_default_label"
48 android:summary="@string/account_settings_default_summary" />
49
The Android Open Source Project96c5af42009-03-03 19:32:22 -080050 <PreferenceCategory
Ben Komalo72a24f12011-07-22 15:15:47 -070051 android:key="data_usage"
52 android:title="@string/account_settings_data_usage">
Jorge Lugo5a3888f2011-06-01 10:09:26 -070053
satokd9080ed2010-02-03 07:37:54 +090054 <ListPreference
The Android Open Source Project96c5af42009-03-03 19:32:22 -080055 android:key="account_check_frequency"
Ben Komalo72a24f12011-07-22 15:15:47 -070056 android:order="1"
The Android Open Source Project96c5af42009-03-03 19:32:22 -080057 android:title="@string/account_settings_mail_check_frequency_label"
58 android:entries="@array/account_settings_check_frequency_entries"
59 android:entryValues="@array/account_settings_check_frequency_values"
60 android:dialogTitle="@string/account_settings_mail_check_frequency_label" />
61
Ben Komalo72a24f12011-07-22 15:15:47 -070062 <!-- Reserve order#2 here for window size (if inserted) -->
Andy Stadler9ce244b2010-11-04 21:13:45 -070063
Ben Komalo72a24f12011-07-22 15:15:47 -070064 <CheckBoxPreference
65 android:key="account_sync_email"
Ben Komalo6be8cce2011-08-03 17:22:37 -070066 android:order="3"
Ben Komalo72a24f12011-07-22 15:15:47 -070067 android:defaultValue="true"
68 android:title="@string/account_settings_sync_email_enable"
69 android:summary="@string/account_settings_sync_email_summary" />
70 <CheckBoxPreference
71 android:key="account_sync_contacts"
Ben Komalo6be8cce2011-08-03 17:22:37 -070072 android:order="4"
Ben Komalo72a24f12011-07-22 15:15:47 -070073 android:defaultValue="true"
74 android:title="@string/account_settings_sync_contacts_enable"
75 android:summary="@string/account_settings_sync_contacts_summary" />
76 <CheckBoxPreference
77 android:key="account_sync_calendar"
Ben Komalo6be8cce2011-08-03 17:22:37 -070078 android:order="5"
Ben Komalo72a24f12011-07-22 15:15:47 -070079 android:defaultValue="true"
80 android:title="@string/account_settings_sync_calendar_enable"
81 android:summary="@string/account_settings_sync_calendar_summary" />
Ben Komalo6be8cce2011-08-03 17:22:37 -070082
83 <!-- (will hide on POP3 accounts) -->
84 <CheckBoxPreference
85 android:key="account_background_attachments"
86 android:order="6"
87 android:title="@string/account_settings_background_attachments_label"
88 android:summary="@string/account_settings_background_attachments_summary" />
89
The Android Open Source Project96c5af42009-03-03 19:32:22 -080090 </PreferenceCategory>
91
Andy Stadler9ce244b2010-11-04 21:13:45 -070092 <PreferenceCategory
93 android:key="account_notifications"
94 android:title="@string/account_settings_notifications">
The Android Open Source Project96c5af42009-03-03 19:32:22 -080095
96 <CheckBoxPreference
97 android:key="account_notify"
98 android:title="@string/account_settings_notify_label"
99 android:defaultValue="true"
100 android:summary="@string/account_settings_notify_summary" />
101
102 <RingtonePreference
Andy Stadler9ce244b2010-11-04 21:13:45 -0700103 android:key="account_ringtone"
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800104 android:layout="?android:attr/preferenceLayoutChild"
105 android:dependency="account_notify"
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800106 android:title="@string/account_settings_ringtone"
107 android:ringtoneType="notification"
108 android:defaultValue="content://settings/system/notification_sound" />
109
Jim Shuma9e2ddca2010-03-16 18:08:52 -0700110 <ListPreference
Andy Stadler9ce244b2010-11-04 21:13:45 -0700111 android:key="account_settings_vibrate_when"
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800112 android:layout="?android:attr/preferenceLayoutChild"
113 android:dependency="account_notify"
Jim Shuma9e2ddca2010-03-16 18:08:52 -0700114 android:defaultValue="never"
115 android:title="@string/account_settings_vibrate_when_label"
116 android:summary="@string/account_settings_vibrate_when_summary"
117 android:entries="@array/account_settings_vibrate_when_entries"
118 android:entryValues="@array/account_settings_vibrate_when_values"
119 android:dialogTitle="@string/account_settings_vibrate_when_dlg_title" />
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800120
121 </PreferenceCategory>
122
Jorge Lugo5a3888f2011-06-01 10:09:26 -0700123 <PreferenceCategory
Andy Stadler1e2ca962009-05-04 10:17:27 -0700124 android:key="account_servers"
125 android:title="@string/account_settings_servers">
Jorge Lugo5a3888f2011-06-01 10:09:26 -0700126
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800127 <PreferenceScreen
128 android:key="incoming"
Andy Stadlere47af762011-02-16 14:19:34 -0800129 android:title="@string/account_settings_incoming_label"
130 android:summary="@string/account_settings_incoming_summary" />
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800131
132 <PreferenceScreen
133 android:key="outgoing"
Andy Stadlere47af762011-02-16 14:19:34 -0800134 android:title="@string/account_settings_outgoing_label"
135 android:summary="@string/account_settings_outgoing_summary" />
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800136 </PreferenceCategory>
137
Andrew Stadlera14a24a2010-08-19 16:28:52 -0700138 <PreferenceCategory
139 android:title="@string/account_settings_category_delete_account">
140
141 <PreferenceScreen
142 android:key="delete_account"
143 android:title="@string/account_settings_delete_account_label" />
144 </PreferenceCategory>
145
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800146</PreferenceScreen>