summaryrefslogtreecommitdiffstats
path: root/res/xml/wifi_advanced_settings.xml
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-01-15 16:12:13 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-01-15 16:12:13 -0800
commit1152aff9d0767e528aa4a40cc8acb51b9c21d2e7 (patch)
treeb15c0910b7737aeb90a6b3f11d33d1877285032d /res/xml/wifi_advanced_settings.xml
parent5962e18d0e5741511e78102a3746828b05f9f9ea (diff)
downloadpackages_apps_settings-1152aff9d0767e528aa4a40cc8acb51b9c21d2e7.zip
packages_apps_settings-1152aff9d0767e528aa4a40cc8acb51b9c21d2e7.tar.gz
packages_apps_settings-1152aff9d0767e528aa4a40cc8acb51b9c21d2e7.tar.bz2
auto import from //branches/cupcake/...@126645
Diffstat (limited to 'res/xml/wifi_advanced_settings.xml')
-rw-r--r--res/xml/wifi_advanced_settings.xml94
1 files changed, 94 insertions, 0 deletions
diff --git a/res/xml/wifi_advanced_settings.xml b/res/xml/wifi_advanced_settings.xml
new file mode 100644
index 0000000..b3ce469
--- /dev/null
+++ b/res/xml/wifi_advanced_settings.xml
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2008 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <PreferenceCategory
+ android:title="@string/wifi_advanced_titlebar"
+ />
+
+ <ListPreference
+ android:key="num_channels"
+ android:title="@string/wifi_setting_num_channels_title"
+ android:summary="@string/wifi_setting_num_channels_summary"
+ android:persistent="false"
+ />
+
+ <ListPreference
+ android:key="sleep_policy"
+ android:title="@string/wifi_setting_sleep_policy_title"
+ android:summary="@string/wifi_setting_sleep_policy_summary"
+ android:persistent="false"
+ android:entries="@array/wifi_sleep_policy_entries"
+ android:entryValues="@array/wifi_sleep_policy_values"
+ />
+
+ <Preference android:key="mac_address"
+ style="?android:attr/preferenceInformationStyle"
+ android:title="@string/wifi_advanced_mac_address_title"
+ />
+
+ <PreferenceCategory
+ android:title="@string/wifi_ip_settings_titlebar"
+ />
+
+ <CheckBoxPreference
+ android:key="use_static_ip"
+ android:title="@string/wifi_use_static_ip"
+ android:persistent="false"
+ />
+
+ <EditTextPreference
+ android:dependency="use_static_ip"
+ android:key="ip_address"
+ android:title="@string/wifi_ip_address"
+ android:persistent="false"
+ android:singleLine="true"
+ />
+
+ <EditTextPreference
+ android:dependency="use_static_ip"
+ android:key="gateway"
+ android:title="@string/wifi_gateway"
+ android:persistent="false"
+ android:singleLine="true"
+ />
+
+ <EditTextPreference
+ android:dependency="use_static_ip"
+ android:key="netmask"
+ android:title="@string/wifi_netmask"
+ android:persistent="false"
+ android:singleLine="true"
+ />
+
+ <EditTextPreference
+ android:dependency="use_static_ip"
+ android:key="dns1"
+ android:title="@string/wifi_dns1"
+ android:persistent="false"
+ android:singleLine="true"
+ />
+
+ <EditTextPreference
+ android:dependency="use_static_ip"
+ android:key="dns2"
+ android:title="@string/wifi_dns2"
+ android:persistent="false"
+ android:singleLine="true"
+ />
+
+</PreferenceScreen>