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    <PreferenceScreen
21        android:key="phone_account_settings_preference_screen"
22        android:title="@string/phone_accounts">
23
24        <intent
25            android:targetPackage="com.android.phone"
26            android:targetClass="com.android.phone.settings.PhoneAccountSettingsActivity"/>
27
28    </PreferenceScreen>
29
30    <PreferenceScreen
31        android:key="button_voicemail_category_key"
32        android:title="@string/voicemail"
33        android:persistent="false">
34
35        <com.android.phone.settings.VoicemailProviderListPreference
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" />
41
42        <PreferenceScreen
43            android:key="button_voicemail_setting_key"
44            android:title="@string/voicemail_settings"
45            android:persistent="false">
46
47            <!-- Note for all com.android.phone.EditPhoneNumberPreference objects
48
49                 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 -->
55
56            <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" />
64
65        </PreferenceScreen>
66
67        <com.android.phone.settings.VoicemailRingtonePreference
68            android:key="@string/voicemail_notification_ringtone_key"
69            android:title="@string/voicemail_notification_ringtone_title"
70            android:persistent="false"
71            android:ringtoneType="notification" />
72
73        <CheckBoxPreference
74            android:key="@string/voicemail_notification_vibrate_key"
75            android:title="@string/voicemail_notification_vibrate_when_title"
76            android:persistent="true" />
77
78    </PreferenceScreen>
79
80    <PreferenceScreen
81        android:key="button_fdn_key"
82        android:title="@string/fdn"
83        android:persistent="false" />
84
85    <CheckBoxPreference
86        android:key="button_enable_video_calling"
87        android:title="@string/enable_video_calling_title"
88        android:persistent="true"
89        android:defaultValue="true" />
90
91    <CheckBoxPreference
92        android:key="button_auto_retry_key"
93        android:title="@string/auto_retry_mode_title"
94        android:persistent="false"
95        android:summary="@string/auto_retry_mode_summary"/>
96
97    <com.android.phone.settings.TtyModeListPreference
98        android:key="@string/tty_mode_key"
99        android:title="@string/tty_mode_option_title"
100        android:summary="@string/tty_mode_option_summary"
101        android:persistent="false"
102        android:entries="@array/tty_mode_entries"
103        android:entryValues="@array/tty_mode_values"/>
104
105    <CheckBoxPreference
106        android:key="button_hac_key"
107        android:title="@string/hac_mode_title"
108        android:persistent="true"
109        android:summary="@string/hac_mode_summary"/>
110
111    <ListPreference
112        android:key="button_dtmf_settings"
113        android:title="@string/dtmf_tones_title"
114        android:summary="@string/dtmf_tones_summary"
115        android:entries="@array/dtmf_tone_entries"
116        android:entryValues="@array/dtmf_tone_values"/>
117
118    <PreferenceScreen
119        android:key="button_gsm_more_expand_key"
120        android:title="@string/labelGSMMore"
121        android:summary="@string/sum_gsm_call_settings"
122        android:persistent="false">
123
124        <intent android:action="android.intent.action.MAIN"
125            android:targetPackage="com.android.phone"
126            android:targetClass="com.android.phone.GsmUmtsCallOptions"/>
127
128    </PreferenceScreen>
129
130    <PreferenceScreen
131        android:key="button_cdma_more_expand_key"
132        android:title="@string/labelCDMAMore"
133        android:summary="@string/sum_cdma_call_settings"
134        android:persistent="false">
135
136        <intent android:action="android.intent.action.MAIN"
137            android:targetPackage="com.android.phone"
138            android:targetClass="com.android.phone.CdmaCallOptions"/>
139
140    </PreferenceScreen>
141
142</PreferenceScreen>
143