OSDN Git Service

DO NOT MERGE WiMAX settings menu
[android-x86/packages-apps-Settings.git] / res / xml / wireless_settings.xml
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     <PreferenceScreen
44         android:key="wimax_settings"
45         android:title="@string/wimax_settings"
46         android:summary="@string/wimax_settings_summary" >
47         <intent
48             android:action="android.intent.action.MAIN"
49             android:targetPackage="com.android.settings.wimax"
50             android:targetClass="com.android.settings.wimax.WimaxSettings" />
51     </PreferenceScreen>
52
53     <CheckBoxPreference
54         android:key="toggle_bluetooth"
55         android:title="@string/bluetooth_quick_toggle_title"
56         android:summary="@string/bluetooth_quick_toggle_summary"
57         android:persistent="false" />
58
59     <PreferenceScreen
60         android:key="bt_settings"
61         android:title="@string/bluetooth_settings_title"
62         android:summary="@string/bluetooth_settings_summary">
63         <intent
64             android:action="android.intent.action.MAIN"
65             android:targetPackage="com.android.settings"
66             android:targetClass="com.android.settings.bluetooth.BluetoothSettings" />
67     </PreferenceScreen>
68
69     <PreferenceScreen
70         android:key="tether_settings"
71         android:title="@string/tether_settings_title_both"
72         android:summary="@string/tether_settings_summary_both">
73         <intent
74             android:action="android.intent.action.MAIN"
75             android:targetPackage="com.android.settings"
76             android:targetClass="com.android.settings.TetherSettings" />
77     </PreferenceScreen>
78
79     <PreferenceScreen
80         android:key="vpn_settings"
81         android:title="@string/vpn_settings_title"
82         android:summary="@string/vpn_settings_summary" >
83         <intent
84             android:action="android.intent.action.MAIN"
85             android:targetPackage="com.android.settings"
86             android:targetClass="com.android.settings.vpn.VpnSettings" />
87     </PreferenceScreen>
88
89     <CheckBoxPreference
90         android:key="toggle_nfc"
91         android:title="@string/nfc_quick_toggle_title"
92         android:summary="@string/nfc_quick_toggle_summary"
93         android:persistent="false" />
94
95     <PreferenceScreen
96         android:title="@string/network_settings_title"
97         android:summary="@string/network_settings_summary"
98         android:dependency="toggle_airplane">
99         <intent
100             android:action="android.intent.action.MAIN"
101             android:targetPackage="com.android.phone"
102             android:targetClass="com.android.phone.Settings" />
103     </PreferenceScreen>
104
105 </PreferenceScreen>