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