1<?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 19 <PreferenceCategory 20 android:key="account_settings"> 21 22 <EditTextPreference 23 android:order="1" 24 android:key="account_description" 25 android:title="@string/account_settings_description_label" 26 android:summary="" 27 android:dialogTitle="@string/account_settings_description_label" /> 28 29 <EditTextPreference 30 android:order="2" 31 android:key="account_name" 32 android:title="@string/account_settings_name_label" 33 android:summary="" 34 android:dialogTitle="@string/account_settings_name_label" /> 35 36 <ListPreference 37 android:order="3" 38 android:key="account_check_frequency" 39 android:title="@string/account_settings_mail_check_frequency_label" 40 android:entries="@array/account_settings_check_frequency_entries" 41 android:entryValues="@array/account_settings_check_frequency_values" 42 android:dialogTitle="@string/account_settings_mail_check_frequency_label" /> 43 44 <!-- Reserve order#4 here for window size (if inserted) --> 45 46 <CheckBoxPreference 47 android:order="5" 48 android:key="account_default" 49 android:title="@string/account_settings_default_label" 50 android:summary="@string/account_settings_default_summary" /> 51 52 </PreferenceCategory> 53 54 <PreferenceCategory android:title="@string/account_settings_notifications"> 55 56 <CheckBoxPreference 57 android:key="account_notify" 58 android:title="@string/account_settings_notify_label" 59 android:defaultValue="true" 60 android:summary="@string/account_settings_notify_summary" /> 61 62 <RingtonePreference 63 android:layout="?android:attr/preferenceLayoutChild" 64 android:dependency="account_notify" 65 android:key="account_ringtone" 66 android:title="@string/account_settings_ringtone" 67 android:ringtoneType="notification" 68 android:defaultValue="content://settings/system/notification_sound" /> 69 70 <CheckBoxPreference 71 android:layout="?android:attr/preferenceLayoutChild" 72 android:dependency="account_notify" 73 android:key="account_vibrate" 74 android:defaultValue="false" 75 android:title="@string/account_settings_vibrate_enable" 76 android:summary="@string/account_settings_vibrate_summary" /> 77 78 </PreferenceCategory> 79 80 <PreferenceCategory 81 android:key="account_servers" 82 android:title="@string/account_settings_servers"> 83 84 <PreferenceScreen 85 android:key="incoming" 86 android:title="@string/account_settings_incoming_label" /> 87 88 <PreferenceScreen 89 android:key="outgoing" 90 android:title="@string/account_settings_outgoing_label" /> 91 92 <CheckBoxPreference 93 android:layout="?android:attr/preferenceLayoutChild" 94 android:key="account_sync_contacts" 95 android:defaultValue="true" 96 android:title="@string/account_settings_sync_contacts_enable" 97 android:summary="@string/account_settings_sync_contacts_summary" /> 98 </PreferenceCategory> 99 100</PreferenceScreen> 101