blob: 625ff4ca9c803c5ac0ae4da2c9209325c23960f4 [file] [log] [blame]
Santos Cordon7d4ddf62013-07-10 11:58:08 -07001<?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
Ihab Awade0f06782014-07-17 11:24:04 -070020 <Preference
Andrew Lee2170a972014-08-13 18:13:01 -070021 android:key="phone_accounts"
22 android:title="@string/phone_accounts">
23
Ihab Awade0f06782014-07-17 11:24:04 -070024 <intent
Andrew Lee2170a972014-08-13 18:13:01 -070025 android:targetClass="com.android.telecomm.PhoneAccountPreferencesActivity"
26 android:targetPackage="com.android.telecomm" />
27
Ihab Awade0f06782014-07-17 11:24:04 -070028 </Preference>
Ihab Awad098f2d72014-05-19 17:34:52 -070029
Andrew Lee2170a972014-08-13 18:13:01 -070030 <PreferenceScreen
31 android:key="button_voicemail_category_key"
32 android:title="@string/voicemail"
33 android:persistent="false">
Santos Cordon7d4ddf62013-07-10 11:58:08 -070034
Andrew Lee2170a972014-08-13 18:13:01 -070035 <ListPreference
36 android:key="button_voicemail_provider_key"
37 android:title="@string/voicemail_provider"
38 android:summary="@string/sum_voicemail_choose_provider"
39 android:defaultValue=""
40 android:persistent="true" />
Santos Cordon7d4ddf62013-07-10 11:58:08 -070041
Andrew Lee2170a972014-08-13 18:13:01 -070042 <PreferenceScreen
43 android:key="button_voicemail_setting_key"
44 android:title="@string/voicemail_settings"
45 android:persistent="false">
Santos Cordon7d4ddf62013-07-10 11:58:08 -070046
Andrew Lee2170a972014-08-13 18:13:01 -070047 <!-- Note for all com.android.phone.EditPhoneNumberPreference objects
Santos Cordon7d4ddf62013-07-10 11:58:08 -070048
Andrew Lee2170a972014-08-13 18:13:01 -070049 The last several attributes are for use with the EditText field
50 in the dialog. These attributes are forwarded to that field
51 when the edittext is created. The attributes include:
52 1. android:singleLine
53 2. android:autoText
54 3. android:background -->
Santos Cordon7d4ddf62013-07-10 11:58:08 -070055
Andrew Lee2170a972014-08-13 18:13:01 -070056 <com.android.phone.EditPhoneNumberPreference
57 android:key="button_voicemail_key"
58 android:title="@string/voicemail_settings_number_label"
59 android:persistent="false"
60 android:dialogTitle="@string/voicemail"
61 phone:confirmMode="confirm"
62 android:singleLine="true"
63 android:autoText="false" />
Santos Cordon7d4ddf62013-07-10 11:58:08 -070064
Andrew Lee2170a972014-08-13 18:13:01 -070065 </PreferenceScreen>
Santos Cordon7d4ddf62013-07-10 11:58:08 -070066
Andrew Lee2170a972014-08-13 18:13:01 -070067 <RingtonePreference
68 android:key="button_voicemail_notification_ringtone_key"
69 android:title="@string/voicemail_notification_ringtone_title"
70 android:persistent="true"
71 android:ringtoneType="notification"
72 android:defaultValue="content://settings/system/notification_sound" />
73
74 <CheckBoxPreference
75 android:key="button_voicemail_notification_vibrate_key"
76 android:title="@string/voicemail_notification_vibrate_when_title"
77 android:persistent="true" />
78
79 </PreferenceScreen>
80
81 <PreferenceScreen
82 android:key="button_fdn_key"
83 android:title="@string/fdn"
84 android:persistent="false">
85
86 <intent android:action="android.intent.action.MAIN"
87 android:targetPackage="com.android.phone"
88 android:targetClass="com.android.phone.FdnSetting" />
89
90 </PreferenceScreen>
Santos Cordon7d4ddf62013-07-10 11:58:08 -070091
92 <CheckBoxPreference
93 android:key="button_auto_retry_key"
94 android:title="@string/auto_retry_mode_title"
95 android:persistent="false"
96 android:summary="@string/auto_retry_mode_summary"/>
97
98 <ListPreference
99 android:key="button_tty_mode_key"
100 android:title="@string/tty_mode_option_title"
101 android:summary="@string/tty_mode_option_summary"
102 android:persistent="false"
103 android:entries="@array/tty_mode_entries"
104 android:entryValues="@array/tty_mode_values"/>
105
Andrew Lee2170a972014-08-13 18:13:01 -0700106 <CheckBoxPreference
Santos Cordon7d4ddf62013-07-10 11:58:08 -0700107 android:key="button_hac_key"
108 android:title="@string/hac_mode_title"
109 android:persistent="true"
110 android:summary="@string/hac_mode_summary"/>
111
112 <ListPreference
113 android:key="button_dtmf_settings"
114 android:title="@string/dtmf_tones_title"
115 android:summary="@string/dtmf_tones_summary"
116 android:entries="@array/dtmf_tone_entries"
117 android:entryValues="@array/dtmf_tone_values"/>
118
119 <PreferenceScreen
120 android:key="button_gsm_more_expand_key"
121 android:title="@string/labelGSMMore"
122 android:summary="@string/sum_gsm_call_settings"
123 android:persistent="false">
124
125 <intent android:action="android.intent.action.MAIN"
126 android:targetPackage="com.android.phone"
127 android:targetClass="com.android.phone.GsmUmtsCallOptions"/>
Andrew Lee2170a972014-08-13 18:13:01 -0700128
Santos Cordon7d4ddf62013-07-10 11:58:08 -0700129 </PreferenceScreen>
130
131 <PreferenceScreen
132 android:key="button_cdma_more_expand_key"
133 android:title="@string/labelCDMAMore"
134 android:summary="@string/sum_cdma_call_settings"
135 android:persistent="false">
136
137 <intent android:action="android.intent.action.MAIN"
138 android:targetPackage="com.android.phone"
139 android:targetClass="com.android.phone.CdmaCallOptions"/>
Andrew Lee2170a972014-08-13 18:13:01 -0700140
Santos Cordon7d4ddf62013-07-10 11:58:08 -0700141 </PreferenceScreen>
Andrew Lee233d4332014-07-10 17:08:23 -0700142
143 <CheckBoxPreference
144 android:key="button_enable_video_calling"
145 android:title="@string/enable_video_calling_title"
146 android:persistent="true"
147 android:defaultValue="true" />
Andrew Lee2170a972014-08-13 18:13:01 -0700148
Santos Cordon7d4ddf62013-07-10 11:58:08 -0700149</PreferenceScreen>