• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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="button_fdn_key"
22        android:title="@string/fdn"
23        android:summary="@string/sum_fdn"
24        android:persistent="false">
25
26        <intent android:action="android.intent.action.MAIN"
27            android:targetPackage="com.android.phone"
28            android:targetClass="com.android.phone.FdnSetting" />
29
30    </PreferenceScreen>
31
32    <PreferenceCategory
33        android:key="button_voicemail_category_key"
34        android:title="@string/voicemail"
35        android:persistent="false">
36      <ListPreference
37          android:key="button_voicemail_provider_key"
38          android:title="@string/voicemail_provider"
39          android:summary="@string/sum_voicemail_choose_provider"
40          android:persistent="true"
41      />
42      <PreferenceScreen android:key="button_voicemail_setting_key"
43            android:title="@string/voicemail_settings"
44            android:persistent="false">
45
46            <!-- Note for all com.android.phone.EditPhoneNumberPreference objects
47
48           The last several attributes are for use with the EditText field
49           in the dialog.  These attributes are forwarded to that field
50           when the edittext is created.  The attributes include:
51             1. android:singleLine
52             2. android:autoText
53             3. android:background -->
54
55              <com.android.phone.EditPhoneNumberPreference
56                android:key="button_voicemail_key"
57                android:title="@string/voicemail_settings_number_label"
58                android:persistent="false"
59                android:dialogTitle="@string/voicemail"
60                phone:confirmMode="confirm"
61                android:singleLine="true"
62                android:autoText="false" />
63      </PreferenceScreen>
64  </PreferenceCategory>
65
66  <PreferenceCategory android:key="button_misc_category_key"
67        android:title="@string/other_settings"
68        android:persistent="false" />
69
70    <CheckBoxPreference
71        android:key="button_auto_retry_key"
72        android:title="@string/auto_retry_mode_title"
73        android:persistent="false"
74        android:summary="@string/auto_retry_mode_summary"/>
75
76    <ListPreference
77        android:key="button_tty_mode_key"
78        android:title="@string/tty_mode_option_title"
79        android:summary="@string/tty_mode_option_summary"
80        android:persistent="false"
81        android:entries="@array/tty_mode_entries"
82        android:entryValues="@array/tty_mode_values"/>
83
84     <CheckBoxPreference
85        android:key="button_hac_key"
86        android:title="@string/hac_mode_title"
87        android:persistent="true"
88        android:summary="@string/hac_mode_summary"/>
89
90    <ListPreference
91        android:key="button_dtmf_settings"
92        android:title="@string/dtmf_tones_title"
93        android:summary="@string/dtmf_tones_summary"
94        android:entries="@array/dtmf_tone_entries"
95        android:entryValues="@array/dtmf_tone_values"/>
96
97    <PreferenceScreen
98        android:key="button_gsm_more_expand_key"
99        android:title="@string/labelGSMMore"
100        android:summary="@string/sum_gsm_call_settings"
101        android:persistent="false">
102
103        <intent android:action="android.intent.action.MAIN"
104            android:targetPackage="com.android.phone"
105            android:targetClass="com.android.phone.GsmUmtsCallOptions"/>
106    </PreferenceScreen>
107
108    <PreferenceScreen
109        android:key="button_cdma_more_expand_key"
110        android:title="@string/labelCDMAMore"
111        android:summary="@string/sum_cdma_call_settings"
112        android:persistent="false">
113
114        <intent android:action="android.intent.action.MAIN"
115            android:targetPackage="com.android.phone"
116            android:targetClass="com.android.phone.CdmaCallOptions"/>
117    </PreferenceScreen>
118</PreferenceScreen>
119