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 <CheckBoxPreference 20 android:key="toggle_airplane" 21 android:title="@string/airplane_mode" 22 android:summary="@string/airplane_mode_summary" 23 android:persistent="false" 24 android:disableDependentsState="true" /> 25 26 <!-- Programmatically will have dynamic summary, but we provide the fallback summary. --> 27 <CheckBoxPreference 28 android:key="toggle_wifi" 29 android:title="@string/wifi_quick_toggle_title" 30 android:summary="@string/wifi_quick_toggle_summary" 31 android:persistent="false" /> 32 33 <PreferenceScreen 34 android:key="wifi_settings" 35 android:title="@string/wifi_settings" 36 android:summary="@string/wifi_settings_summary" > 37 <intent 38 android:action="android.intent.action.MAIN" 39 android:targetPackage="com.android.settings" 40 android:targetClass="com.android.settings.wifi.WifiSettings" /> 41 </PreferenceScreen> 42 43 <CheckBoxPreference 44 android:key="toggle_bluetooth" 45 android:title="@string/bluetooth_quick_toggle_title" 46 android:summary="@string/bluetooth_quick_toggle_summary" 47 android:persistent="false" /> 48 49 <PreferenceScreen 50 android:key="bt_settings" 51 android:title="@string/bluetooth_settings_title" 52 android:summary="@string/bluetooth_settings_summary"> 53 <intent 54 android:action="android.intent.action.MAIN" 55 android:targetPackage="com.android.settings" 56 android:targetClass="com.android.settings.bluetooth.BluetoothSettings" /> 57 </PreferenceScreen> 58 59 <PreferenceScreen 60 android:key="tether_settings" 61 android:title="@string/tether_settings_title_both" 62 android:summary="@string/tether_settings_summary_both"> 63 <intent 64 android:action="android.intent.action.MAIN" 65 android:targetPackage="com.android.settings" 66 android:targetClass="com.android.settings.TetherSettings" /> 67 </PreferenceScreen> 68 69 <PreferenceScreen 70 android:key="vpn_settings" 71 android:title="@string/vpn_settings_title" 72 android:summary="@string/vpn_settings_summary" > 73 <intent 74 android:action="android.intent.action.MAIN" 75 android:targetPackage="com.android.settings" 76 android:targetClass="com.android.settings.vpn.VpnSettings" /> 77 </PreferenceScreen> 78 79 <PreferenceScreen 80 android:title="@string/network_settings_title" 81 android:summary="@string/network_settings_summary" 82 android:dependency="toggle_airplane"> 83 <intent 84 android:action="android.intent.action.MAIN" 85 android:targetPackage="com.android.phone" 86 android:targetClass="com.android.phone.Settings" /> 87 </PreferenceScreen> 88 89 </PreferenceScreen> 90