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
17<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
18                  android:title="@string/apn_edit">
19    <EditTextPreference
20        android:title="@string/apn_name"
21        android:dialogTitle="@string/apn_name"
22        android:key="apn_name"
23        android:singleLine="true"
24        android:inputType="text"
25        android:persistent="false"
26        />
27    <EditTextPreference
28        android:title="@string/apn_apn"
29        android:dialogTitle="@string/apn_apn"
30        android:key="apn_apn"
31        android:singleLine="true"
32        android:inputType="textEmailAddress"
33        android:persistent="false"
34        />
35    <EditTextPreference
36        android:title="@string/apn_http_proxy"
37        android:dialogTitle="@string/apn_http_proxy"
38        android:key="apn_http_proxy"
39        android:singleLine="true"
40        android:inputType="textUri"
41        android:persistent="false"
42        />
43    <EditTextPreference
44        android:title="@string/apn_http_port"
45        android:dialogTitle="@string/apn_http_port"
46        android:key="apn_http_port"
47        android:singleLine="true"
48        android:inputType="number"
49        android:persistent="false"
50        />
51    <EditTextPreference
52        android:title="@string/apn_user"
53        android:dialogTitle="@string/apn_user"
54        android:key="apn_user"
55        android:singleLine="true"
56        android:inputType="textEmailAddress"
57        android:persistent="false"
58        />
59    <EditTextPreference
60        android:title="@string/apn_password"
61        android:dialogTitle="@string/apn_password"
62        android:key="apn_password"
63        android:singleLine="true"
64        android:inputType="textPassword"
65        android:persistent="false"
66        />
67    <EditTextPreference
68        android:title="@string/apn_server"
69        android:dialogTitle="@string/apn_server"
70        android:key="apn_server"
71        android:singleLine="true"
72        android:inputType="textUri"
73        android:persistent="false"
74        />
75    <EditTextPreference
76        android:title="@string/apn_mmsc"
77        android:dialogTitle="@string/apn_mmsc"
78        android:key="apn_mmsc"
79        android:singleLine="true"
80        android:inputType="textUri"
81        android:persistent="false"
82        />
83    <EditTextPreference
84        android:title="@string/apn_mms_proxy"
85        android:dialogTitle="@string/apn_mms_proxy"
86        android:key="apn_mms_proxy"
87        android:singleLine="true"
88        android:inputType="textUri"
89        android:persistent="false"
90        />
91    <EditTextPreference
92        android:title="@string/apn_mms_port"
93        android:dialogTitle="@string/apn_mms_port"
94        android:key="apn_mms_port"
95        android:singleLine="true"
96        android:inputType="number"
97        android:persistent="false"
98        />
99    <EditTextPreference
100        android:title="@string/apn_mcc"
101        android:dialogTitle="@string/apn_mcc"
102        android:key="apn_mcc"
103        android:singleLine="true"
104        android:inputType="number"
105        android:persistent="false"
106        />
107    <EditTextPreference
108        android:title="@string/apn_mnc"
109        android:dialogTitle="@string/apn_mnc"
110        android:key="apn_mnc"
111        android:singleLine="true"
112        android:inputType="number"
113        android:persistent="false"
114        />
115    <ListPreference
116        android:title="@string/apn_auth_type"
117        android:key="auth_type"
118        android:entries="@array/apn_auth_entries"
119        android:entryValues="@array/apn_auth_values"
120        android:persistent="false"
121        />
122    <EditTextPreference
123        android:title="@string/apn_type"
124        android:dialogTitle="@string/apn_type"
125        android:key="apn_type"
126        android:singleLine="true"
127        android:inputType="textNoSuggestions"
128        android:persistent="false"
129        />
130    <ListPreference
131        android:title="@string/apn_protocol"
132        android:dialogTitle="@string/apn_protocol"
133        android:key="apn_protocol"
134        android:entries="@array/apn_protocol_entries"
135        android:entryValues="@array/apn_protocol_values"
136        android:persistent="false"
137        />
138    <ListPreference
139        android:title="@string/apn_roaming_protocol"
140        android:dialogTitle="@string/apn_roaming_protocol"
141        android:key="apn_roaming_protocol"
142        android:entries="@array/apn_protocol_entries"
143        android:entryValues="@array/apn_protocol_values"
144        android:persistent="false"
145        />
146    <SwitchPreference
147        android:title="@string/carrier_enabled"
148        android:key="carrier_enabled"
149        android:enabled="false"
150        android:summaryOn="@string/carrier_enabled_summaryOn"
151        android:summaryOff="@string/carrier_enabled_summaryOff"
152        android:persistent="false"
153        />
154    <MultiSelectListPreference
155        android:title="@string/bearer"
156        android:key="bearer_multi"
157        android:entries="@array/bearer_entries"
158        android:entryValues="@array/bearer_values"
159        android:persistent="false"
160        style="@style/SettingsMultiSelectListPreference"
161        />
162    <ListPreference
163        android:title="@string/mvno_type"
164        android:key="mvno_type"
165        android:entries="@array/mvno_type_entries"
166        android:entryValues="@array/mvno_type_values"
167        android:persistent="false"
168        />
169    <EditTextPreference
170        android:title="@string/mvno_match_data"
171        android:dialogTitle="@string/mvno_match_data"
172        android:key="mvno_match_data"
173        android:singleLine="true"
174        android:inputType="text"
175        android:persistent="false"
176        />
177</PreferenceScreen>
178