The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame^] | 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 | android:title="@string/wifi_advanced_titlebar"> |
| 19 | |
| 20 | <ListPreference |
| 21 | android:key="num_channels" |
| 22 | android:title="@string/wifi_setting_num_channels_title" |
| 23 | android:summary="@string/wifi_setting_num_channels_summary" |
| 24 | android:persistent="false" |
| 25 | /> |
| 26 | |
| 27 | <ListPreference |
| 28 | android:key="sleep_policy" |
| 29 | android:title="@string/wifi_setting_sleep_policy_title" |
| 30 | android:summary="@string/wifi_setting_sleep_policy_summary" |
| 31 | android:persistent="false" |
| 32 | android:entries="@array/wifi_sleep_policy_entries" |
| 33 | android:entryValues="@array/wifi_sleep_policy_values" |
| 34 | /> |
| 35 | |
| 36 | <Preference android:key="mac_address" |
| 37 | style="?android:attr/preferenceInformationStyle" |
| 38 | android:title="@string/wifi_advanced_mac_address_title" |
| 39 | /> |
| 40 | |
| 41 | <PreferenceCategory |
| 42 | android:title="@string/wifi_ip_settings_titlebar" |
| 43 | /> |
| 44 | |
| 45 | <CheckBoxPreference |
| 46 | android:key="use_static_ip" |
| 47 | android:title="@string/wifi_use_static_ip" |
| 48 | android:persistent="false" |
| 49 | /> |
| 50 | |
| 51 | <EditTextPreference |
| 52 | android:dependency="use_static_ip" |
| 53 | android:key="ip_address" |
| 54 | android:title="@string/wifi_ip_address" |
| 55 | android:persistent="false" |
| 56 | android:singleLine="true" |
| 57 | /> |
| 58 | |
| 59 | <EditTextPreference |
| 60 | android:dependency="use_static_ip" |
| 61 | android:key="gateway" |
| 62 | android:title="@string/wifi_gateway" |
| 63 | android:persistent="false" |
| 64 | android:singleLine="true" |
| 65 | /> |
| 66 | |
| 67 | <EditTextPreference |
| 68 | android:dependency="use_static_ip" |
| 69 | android:key="netmask" |
| 70 | android:title="@string/wifi_netmask" |
| 71 | android:persistent="false" |
| 72 | android:singleLine="true" |
| 73 | /> |
| 74 | |
| 75 | <EditTextPreference |
| 76 | android:dependency="use_static_ip" |
| 77 | android:key="dns1" |
| 78 | android:title="@string/wifi_dns1" |
| 79 | android:persistent="false" |
| 80 | android:singleLine="true" |
| 81 | /> |
| 82 | |
| 83 | <EditTextPreference |
| 84 | android:dependency="use_static_ip" |
| 85 | android:key="dns2" |
| 86 | android:title="@string/wifi_dns2" |
| 87 | android:persistent="false" |
| 88 | android:singleLine="true" |
| 89 | /> |
| 90 | |
| 91 | </PreferenceScreen> |