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 85 <ListPreference 86 android:key="button_voicemail_notification_vibrate_when_key" 87 android:title="@string/voicemail_notification_vibrate_when_title" 88 android:persistent="true" 89 android:entries="@array/voicemail_notification_vibrate_when_entries" 90 android:entryValues="@array/voicemail_notification_vibrate_when_values" 91 android:defaultValue="@string/voicemail_notification_vibrate_when_default" 92 android:dialogTitle="@string/voicemail_notification_vibarte_when_dialog_title" /> 93 </PreferenceScreen> 94 95 <CheckBoxPreference 96 android:key="button_play_dtmf_tone" 97 android:title="@string/dtmf_tone_enable_title" 98 android:persistent="false" 99 android:defaultValue="true" /> 100 101 <PreferenceScreen 102 android:key="button_respond_via_sms_key" 103 android:title="@string/respond_via_sms_setting_title" 104 android:summary="@string/respond_via_sms_setting_summary" 105 android:persistent="false"> 106 <intent 107 android:action="android.intent.action.MAIN" 108 android:targetPackage="com.android.phone" 109 android:targetClass="com.android.phone.RespondViaSmsManager$Settings" /> 110 </PreferenceScreen> 111 112 <PreferenceScreen 113 android:key="button_fdn_key" 114 android:title="@string/fdn" 115 android:persistent="false"> 116 <intent android:action="android.intent.action.MAIN" 117 android:targetPackage="com.android.phone" 118 android:targetClass="com.android.phone.FdnSetting" /> 119 </PreferenceScreen> 120 121 <CheckBoxPreference 122 android:key="button_auto_retry_key" 123 android:title="@string/auto_retry_mode_title" 124 android:persistent="false" 125 android:summary="@string/auto_retry_mode_summary"/> 126 127 <ListPreference 128 android:key="button_tty_mode_key" 129 android:title="@string/tty_mode_option_title" 130 android:summary="@string/tty_mode_option_summary" 131 android:persistent="false" 132 android:entries="@array/tty_mode_entries" 133 android:entryValues="@array/tty_mode_values"/> 134 135 <CheckBoxPreference 136 android:key="button_hac_key" 137 android:title="@string/hac_mode_title" 138 android:persistent="true" 139 android:summary="@string/hac_mode_summary"/> 140 141 <ListPreference 142 android:key="button_dtmf_settings" 143 android:title="@string/dtmf_tones_title" 144 android:summary="@string/dtmf_tones_summary" 145 android:entries="@array/dtmf_tone_entries" 146 android:entryValues="@array/dtmf_tone_values"/> 147 148 <PreferenceScreen 149 android:key="button_gsm_more_expand_key" 150 android:title="@string/labelGSMMore" 151 android:summary="@string/sum_gsm_call_settings" 152 android:persistent="false"> 153 154 <intent android:action="android.intent.action.MAIN" 155 android:targetPackage="com.android.phone" 156 android:targetClass="com.android.phone.GsmUmtsCallOptions"/> 157 </PreferenceScreen> 158 159 <PreferenceScreen 160 android:key="button_cdma_more_expand_key" 161 android:title="@string/labelCDMAMore" 162 android:summary="@string/sum_cdma_call_settings" 163 android:persistent="false"> 164 165 <intent android:action="android.intent.action.MAIN" 166 android:targetPackage="com.android.phone" 167 android:targetClass="com.android.phone.CdmaCallOptions"/> 168 </PreferenceScreen> 169 </PreferenceScreen> 170