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 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" 17 xmlns:phone="http://schemas.android.com/apk/res/com.android.phone" 18 android:title="@string/call_settings"> 19 20 <PreferenceCategory 21 android:key="button_ringtone_category_key" 22 android:title="@string/preference_category_ringtone" 23 android:persistent="false"> 24 25 <com.android.phone.DefaultRingtonePreference 26 android:key="button_ringtone_key" 27 android:title="@string/ringtone_title" 28 android:dialogTitle="@string/ringtone_title" 29 android:persistent="false" 30 android:ringtoneType="ringtone" /> 31 32 <CheckBoxPreference 33 android:key="button_vibrate_on_ring" 34 android:title="@string/vibrate_on_ring_title" 35 android:persistent="false" 36 android:defaultValue="false" /> 37 </PreferenceCategory> 38 39 <PreferenceCategory 40 android:key="button_misc_category_key" 41 android:title="@string/other_settings" 42 android:persistent="false" /> 43 44 <PreferenceScreen 45 android:key="button_voicemail_category_key" 46 android:title="@string/voicemail" 47 android:persistent="false"> 48 <ListPreference 49 android:key="button_voicemail_provider_key" 50 android:title="@string/voicemail_provider" 51 android:summary="@string/sum_voicemail_choose_provider" 52 android:defaultValue="" 53 android:persistent="true" /> 54 <PreferenceScreen 55 android:key="button_voicemail_setting_key" 56 android:title="@string/voicemail_settings" 57 android:persistent="false"> 58 59 <!-- Note for all com.android.phone.EditPhoneNumberPreference objects 60 61 The last several attributes are for use with the EditText field 62 in the dialog. These attributes are forwarded to that field 63 when the edittext is created. The attributes include: 64 1. android:singleLine 65 2. android:autoText 66 3. android:background --> 67 68 <com.android.phone.EditPhoneNumberPreference 69 android:key="button_voicemail_key" 70 android:title="@string/voicemail_settings_number_label" 71 android:persistent="false" 72 android:dialogTitle="@string/voicemail" 73 phone:confirmMode="confirm" 74 android:singleLine="true" 75 android:autoText="false" /> 76 </PreferenceScreen> 77 78 <RingtonePreference 79 android:key="button_voicemail_notification_ringtone_key" 80 android:title="@string/voicemail_notification_ringtone_title" 81 android:persistent="true" 82 android:ringtoneType="notification" 83 android:defaultValue="content://settings/system/notification_sound" /> 84 <CheckBoxPreference 85 android:key="button_voicemail_notification_vibrate_key" 86 android:title="@string/voicemail_notification_vibrate_when_title" 87 android:persistent="true" 88 /> 89 </PreferenceScreen> 90 91 <CheckBoxPreference 92 android:key="button_play_dtmf_tone" 93 android:title="@string/dtmf_tone_enable_title" 94 android:persistent="false" 95 android:defaultValue="true" /> 96 97 <CheckBoxPreference 98 android:key="button_dialpad_autocomplete" 99 android:title="@string/dial_pad_autocomplete" 100 android:persistent="false" 101 android:defaultValue="false" /> 102 103 <PreferenceScreen 104 android:key="button_respond_via_sms_key" 105 android:title="@string/respond_via_sms_setting_title" 106 android:summary="@string/respond_via_sms_setting_summary" 107 android:persistent="false"> 108 <intent 109 android:action="android.intent.action.MAIN" 110 android:targetPackage="com.android.phone" 111 android:targetClass="com.android.phone.RespondViaSmsManager$Settings" /> 112 </PreferenceScreen> 113 114 <PreferenceScreen 115 android:key="button_fdn_key" 116 android:title="@string/fdn" 117 android:persistent="false"> 118 <intent android:action="android.intent.action.MAIN" 119 android:targetPackage="com.android.phone" 120 android:targetClass="com.android.phone.FdnSetting" /> 121 </PreferenceScreen> 122 123 <CheckBoxPreference 124 android:key="button_auto_retry_key" 125 android:title="@string/auto_retry_mode_title" 126 android:persistent="false" 127 android:summary="@string/auto_retry_mode_summary"/> 128 129 <ListPreference 130 android:key="button_tty_mode_key" 131 android:title="@string/tty_mode_option_title" 132 android:summary="@string/tty_mode_option_summary" 133 android:persistent="false" 134 android:entries="@array/tty_mode_entries" 135 android:entryValues="@array/tty_mode_values"/> 136 137 <CheckBoxPreference 138 android:key="button_hac_key" 139 android:title="@string/hac_mode_title" 140 android:persistent="true" 141 android:summary="@string/hac_mode_summary"/> 142 143 <ListPreference 144 android:key="button_dtmf_settings" 145 android:title="@string/dtmf_tones_title" 146 android:summary="@string/dtmf_tones_summary" 147 android:entries="@array/dtmf_tone_entries" 148 android:entryValues="@array/dtmf_tone_values"/> 149 150 <PreferenceScreen 151 android:key="button_gsm_more_expand_key" 152 android:title="@string/labelGSMMore" 153 android:summary="@string/sum_gsm_call_settings" 154 android:persistent="false"> 155 156 <intent android:action="android.intent.action.MAIN" 157 android:targetPackage="com.android.phone" 158 android:targetClass="com.android.phone.GsmUmtsCallOptions"/> 159 </PreferenceScreen> 160 161 <PreferenceScreen 162 android:key="button_cdma_more_expand_key" 163 android:title="@string/labelCDMAMore" 164 android:summary="@string/sum_cdma_call_settings" 165 android:persistent="false"> 166 167 <intent android:action="android.intent.action.MAIN" 168 android:targetPackage="com.android.phone" 169 android:targetClass="com.android.phone.CdmaCallOptions"/> 170 </PreferenceScreen> 171 </PreferenceScreen> 172