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.settings" 19 android:title="@string/radio_controls_title"> 20 21 <SwitchPreference 22 android:key="toggle_airplane" 23 android:title="@string/airplane_mode" 24 android:disableDependentsState="true" /> 25 26 <SwitchPreference 27 android:key="toggle_nfc" 28 android:title="@string/nfc_quick_toggle_title" 29 android:summary="@string/nfc_quick_toggle_summary" /> 30 31 <PreferenceScreen 32 android:key="wifi_calling_settings" 33 android:title="@string/wifi_calling_settings_title" 34 settings:keywords="@string/keywords_wifi_calling" 35 android:fragment="com.android.settings.WifiCallingSettings" /> 36 37 <com.android.settingslib.RestrictedPreference 38 android:fragment="com.android.settings.nfc.AndroidBeam" 39 android:key="android_beam_settings" 40 android:title="@string/android_beam_settings_title" /> 41 42 <com.android.settingslib.RestrictedPreference 43 android:fragment="com.android.settings.TetherSettings" 44 android:key="tether_settings" 45 android:title="@string/tether_settings_title_all" 46 settings:userRestriction="no_config_tethering" 47 settings:useAdminDisabledSummary="true" /> 48 49 <com.android.settingslib.RestrictedPreference 50 android:fragment="com.android.settings.vpn2.VpnSettings" 51 android:key="vpn_settings" 52 android:title="@string/vpn_settings_title" 53 settings:userRestriction="no_config_vpn" 54 settings:useAdminDisabledSummary="true" /> 55 56 <com.android.settingslib.RestrictedPreference 57 android:key="mobile_network_settings" 58 android:title="@string/network_settings_title" 59 settings:keywords="@string/keywords_more_mobile_networks" 60 settings:userRestriction="no_config_mobile_networks" 61 settings:useAdminDisabledSummary="true" 62 android:dependency="toggle_airplane"> 63 <intent 64 android:action="android.intent.action.MAIN" 65 android:targetPackage="com.android.phone" 66 android:targetClass="com.android.phone.MobileNetworkSettings" /> 67 </com.android.settingslib.RestrictedPreference> 68 69 <com.android.settingslib.RestrictedPreference 70 android:key="manage_mobile_plan" 71 android:title="@string/manage_mobile_plan_title" 72 android:persistent="false" 73 settings:userRestriction="no_config_mobile_networks" 74 settings:useAdminDisabledSummary="true" /> 75 76 <com.android.settingslib.RestrictedPreference 77 android:key="wimax_settings" 78 android:title="@string/wimax_settings" 79 settings:userRestriction="no_config_mobile_networks" 80 settings:useAdminDisabledSummary="true"> 81 <intent 82 android:action="android.intent.action.MAIN" 83 android:targetPackage="com.android.settings.wimax" 84 android:targetClass="com.android.settings.wimax.WimaxSettings" /> 85 </com.android.settingslib.RestrictedPreference> 86 87 <PreferenceScreen 88 android:fragment="com.android.settings.ProxySelector" 89 android:key="proxy_settings" 90 android:title="@string/proxy_settings_title" /> 91 92 <!-- Network reset --> 93 <com.android.settingslib.RestrictedPreference 94 android:key="network_reset" 95 android:title="@string/reset_network_title" 96 settings:keywords="@string/keywords_network_reset" 97 settings:userRestriction="no_network_reset" 98 settings:useAdminDisabledSummary="true" 99 android:fragment="com.android.settings.ResetNetwork" /> 100 101 </PreferenceScreen> 102