Fix bug1783355, The "Use 2G only" setting has disappeared.
[android/platform/packages/apps/Phone.git] / res / xml / call_feature_setting.xml
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     <!-- Note for all com.android.phone.EditPhoneNumberPreference objects
27     
28          The last several attributes are for use with the EditText field 
29          in the dialog.  These attributes are forwarded to that field 
30          when the edittext is created.  The attributes include:
31            1. android:singleLine
32            2. android:autoText
33            3. android:background -->
34            
35     <com.android.phone.EditPhoneNumberPreference 
36         android:key="button_voicemail_key" 
37         android:title="@string/voicemail"
38         android:summary="@string/sum_voicemail"
39         android:persistent="false"
40         android:dialogTitle="@string/voicemail"
41         phone:confirmMode="confirm"
42         android:singleLine="true"
43         android:autoText="false"/>
44         
45     
46     <!-- Rearranged to allow for lazy queries. -->
47     <PreferenceScreen
48         android:key="button_gsm_more_expand_key"
49         android:title="@string/labelGSMMore"
50         android:summary="@string/sum_gsm_call_settings"
51         android:persistent="false">
52         
53         <PreferenceCategory
54             android:title="@string/additional_gsm_call_settings"/>
55
56         <!-- Rearranged to allow for lazy queries. -->
57         <PreferenceScreen
58             android:key="button_cf_expand_key"
59             android:title="@string/labelCF"
60             android:persistent="false">
61     
62             <PreferenceCategory
63                 android:title="@string/call_forwarding_settings"/>
64             
65             <!-- See note on com.android.phone.EditPhoneNumberPreference above -->
66             <com.android.phone.EditPhoneNumberPreference 
67                 android:key="button_cfu_key" 
68                 android:title="@string/labelCFU"
69                 android:persistent="false"
70                 android:summaryOn="@string/sum_cfu_enabled"
71                 android:summaryOff="@string/sum_cfu_disabled"
72                 android:dialogTitle="@string/labelCFU"
73                 phone:confirmMode="activation"
74                 android:singleLine="true"
75                 android:autoText="false"/>
76         
77             <!-- See note on com.android.phone.EditPhoneNumberPreference above -->
78             <com.android.phone.EditPhoneNumberPreference 
79                 android:key="button_cfb_key" 
80                 android:title="@string/labelCFB"
81                 android:persistent="false"
82                 android:summaryOn="@string/sum_cfb_enabled"
83                 android:summaryOff="@string/sum_cfb_disabled"
84                 android:dialogTitle="@string/labelCFB"
85                 phone:confirmMode="activation"
86                 android:singleLine="true"
87                 android:autoText="false"/>
88                 
89             <!-- See note on com.android.phone.EditPhoneNumberPreference above -->
90             <com.android.phone.EditPhoneNumberPreference 
91                 android:key="button_cfnry_key" 
92                 android:title="@string/labelCFNRy"
93                 android:persistent="false"
94                 android:summaryOn="@string/sum_cfnry_enabled"
95                 android:summaryOff="@string/sum_cfnry_disabled"
96                 android:dialogTitle="@string/labelCFNRy"
97                 phone:confirmMode="activation"
98                 android:singleLine="true"
99                 android:autoText="false"/>
100         
101             <!-- See note on com.android.phone.EditPhoneNumberPreference above -->
102             <com.android.phone.EditPhoneNumberPreference 
103                 android:key="button_cfnrc_key" 
104                 android:title="@string/labelCFNRc"
105                 android:persistent="false"
106                 android:summaryOn="@string/sum_cfnrc_enabled"
107                 android:summaryOff="@string/sum_cfnrc_disabled"
108                 android:dialogTitle="@string/labelCFNRc"
109                 phone:confirmMode="activation"
110                 android:singleLine="true"
111                 android:autoText="false"/>
112                 
113         </PreferenceScreen>
114
115         <ListPreference
116             android:key="button_clir_key" 
117             android:title="@string/labelCallerId"
118             android:persistent="false"
119             android:defaultValue="DEFAULT"
120             android:entries="@array/clir_display_values"
121             android:entryValues="@array/clir_values"
122             android:dialogTitle="@string/labelCallerId" />
123
124         <CheckBoxPreference 
125             android:key="button_cw_key" 
126             android:title="@string/labelCW"
127             android:persistent="false"
128             android:summaryOn="@string/sum_cw_enabled"
129             android:summaryOff="@string/sum_cw_disabled"/>
130            
131     </PreferenceScreen>
132
133 </PreferenceScreen>