• 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
17<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
18
19    <com.android.phone.NetworkOperators
20        android:key="network_operators_category_key"
21        android:title="@string/network_operator_category"
22        android:persistent="false">
23
24        <SwitchPreference
25            android:key="button_auto_select_key"
26            android:title="@string/select_automatically"
27            android:persistent="false"/>
28
29        <com.android.phone.NetworkSelectListPreference
30            android:key="button_network_select_key"
31            android:title="@string/network_select_title"
32            android:persistent="false"/>
33
34        <Preference
35            android:key="button_choose_network_key"
36            android:title="@string/choose_network_title"
37            android:fragment="com.android.phone.NetworkSelectSetting" />
38    </com.android.phone.NetworkOperators>
39
40    <!--We want separate APN setting from reset of settings because-->
41    <!--we want user to change it with caution.-->
42    <PreferenceCategory
43        android:key="category_gsm_apn_key"
44        android:layout="@layout/preference_category_no_label">
45
46        <com.android.phone.RestrictedPreference
47            android:key="button_gsm_apn_key"
48            android:title="@string/apn_settings"
49            android:persistent="false" />
50    </PreferenceCategory>
51
52    <PreferenceScreen
53        android:key="carrier_settings_key"
54        android:title="@string/carrier_settings_title">
55        <intent android:action="android.intent.action.MAIN"
56                android:targetPackage="@string/carrier_settings"
57                android:targetClass="@string/carrier_settings_menu" />
58    </PreferenceScreen>
59
60</PreferenceScreen>
61