2009-03-04 03:32:22 +00: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.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
|
|
|
|
<PreferenceCategory
|
|
|
|
android:key="account_settings">
|
|
|
|
|
|
|
|
<EditTextPreference
|
2009-05-01 22:30:33 +00:00
|
|
|
android:order="1"
|
2009-03-04 03:32:22 +00:00
|
|
|
android:key="account_description"
|
|
|
|
android:title="@string/account_settings_description_label"
|
|
|
|
android:summary=""
|
|
|
|
android:dialogTitle="@string/account_settings_description_label" />
|
|
|
|
|
|
|
|
<EditTextPreference
|
2009-05-01 22:30:33 +00:00
|
|
|
android:order="2"
|
2009-03-04 03:32:22 +00:00
|
|
|
android:key="account_name"
|
|
|
|
android:title="@string/account_settings_name_label"
|
|
|
|
android:summary=""
|
|
|
|
android:dialogTitle="@string/account_settings_name_label" />
|
|
|
|
|
2010-02-02 22:37:54 +00:00
|
|
|
<EditTextPreference
|
2009-05-01 22:30:33 +00:00
|
|
|
android:order="3"
|
2010-02-02 22:37:54 +00:00
|
|
|
android:key="account_signature"
|
|
|
|
android:title="@string/account_settings_signature_label"
|
|
|
|
android:summary=""
|
|
|
|
android:dialogTitle="@string/account_settings_signature_label" />
|
|
|
|
|
|
|
|
<ListPreference
|
|
|
|
android:order="4"
|
2009-03-04 03:32:22 +00: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-02-02 22:37:54 +00:00
|
|
|
<!-- Reserve order#5 here for window size (if inserted) -->
|
2009-05-01 22:30:33 +00:00
|
|
|
|
2009-03-04 03:32:22 +00:00
|
|
|
<CheckBoxPreference
|
2010-02-02 22:37:54 +00:00
|
|
|
android:order="6"
|
2009-03-04 03:32:22 +00:00
|
|
|
android:key="account_default"
|
|
|
|
android:title="@string/account_settings_default_label"
|
|
|
|
android:summary="@string/account_settings_default_summary" />
|
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
<PreferenceCategory android:title="@string/account_settings_notifications">
|
|
|
|
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:key="account_notify"
|
|
|
|
android:title="@string/account_settings_notify_label"
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:summary="@string/account_settings_notify_summary" />
|
|
|
|
|
|
|
|
<RingtonePreference
|
|
|
|
android:layout="?android:attr/preferenceLayoutChild"
|
|
|
|
android:dependency="account_notify"
|
|
|
|
android:key="account_ringtone"
|
|
|
|
android:title="@string/account_settings_ringtone"
|
|
|
|
android:ringtoneType="notification"
|
|
|
|
android:defaultValue="content://settings/system/notification_sound" />
|
|
|
|
|
2010-03-17 01:08:52 +00:00
|
|
|
<ListPreference
|
2009-03-04 03:32:22 +00:00
|
|
|
android:layout="?android:attr/preferenceLayoutChild"
|
|
|
|
android:dependency="account_notify"
|
2010-03-17 01:08:52 +00:00
|
|
|
android:key="account_settings_vibrate_when"
|
|
|
|
android:defaultValue="never"
|
|
|
|
android:title="@string/account_settings_vibrate_when_label"
|
|
|
|
android:summary="@string/account_settings_vibrate_when_summary"
|
|
|
|
android:entries="@array/account_settings_vibrate_when_entries"
|
|
|
|
android:entryValues="@array/account_settings_vibrate_when_values"
|
|
|
|
android:dialogTitle="@string/account_settings_vibrate_when_dlg_title" />
|
2009-03-04 03:32:22 +00:00
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
2009-05-04 17:17:27 +00:00
|
|
|
<PreferenceCategory
|
|
|
|
android:key="account_servers"
|
|
|
|
android:title="@string/account_settings_servers">
|
2009-03-04 03:32:22 +00:00
|
|
|
|
|
|
|
<PreferenceScreen
|
|
|
|
android:key="incoming"
|
|
|
|
android:title="@string/account_settings_incoming_label" />
|
|
|
|
|
|
|
|
<PreferenceScreen
|
|
|
|
android:key="outgoing"
|
|
|
|
android:title="@string/account_settings_outgoing_label" />
|
|
|
|
|
2010-07-08 17:08:47 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:layout="?android:attr/preferenceLayoutChild"
|
|
|
|
android:key="account_sync_email"
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:title="@string/account_settings_sync_email_enable"
|
|
|
|
android:summary="@string/account_settings_sync_email_summary" />
|
2009-09-16 20:54:03 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:layout="?android:attr/preferenceLayoutChild"
|
|
|
|
android:key="account_sync_contacts"
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:title="@string/account_settings_sync_contacts_enable"
|
|
|
|
android:summary="@string/account_settings_sync_contacts_summary" />
|
2010-02-04 18:26:47 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:layout="?android:attr/preferenceLayoutChild"
|
|
|
|
android:key="account_sync_calendar"
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:title="@string/account_settings_sync_calendar_enable"
|
|
|
|
android:summary="@string/account_settings_sync_calendar_summary" />
|
2009-03-04 03:32:22 +00:00
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
</PreferenceScreen>
|