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