1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2015 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 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:settings="http://schemas.android.com/apk/res-auto" 20 android:key="wifi_configure_settings_screen" 21 android:title="@string/wifi_configure_settings_preference_title"> 22 23 <SwitchPreference 24 android:key="enable_wifi_wakeup" 25 android:title="@string/wifi_wakeup" 26 android:icon="@drawable/ic_auto_wifi" 27 android:summary="@string/wifi_wakeup_summary" /> 28 29 <SwitchPreference 30 android:key="use_open_wifi_automatically" 31 android:icon="@drawable/ic_open_wifi_autoconnect" 32 android:title="@string/use_open_wifi_automatically_title" 33 android:summary="@string/use_open_wifi_automatically_summary" /> 34 35 <SwitchPreference 36 android:key="notify_open_networks" 37 android:title="@string/wifi_notify_open_networks" 38 android:icon="@drawable/ic_open_wifi_notifications" 39 android:summary="@string/wifi_notify_open_networks_summary" 40 settings:keywords="@string/keywords_wifi_notify_open_networks"/> 41 42 <SwitchPreference 43 android:key="wifi_cellular_data_fallback" 44 android:title="@string/wifi_cellular_data_fallback_title" 45 android:summary="@string/wifi_cellular_data_fallback_summary" 46 settings:controller="com.android.settings.wifi.CellularFallbackPreferenceController" /> 47 48 <Preference 49 android:key="install_credentials" 50 android:title="@string/wifi_install_credentials"> 51 <intent 52 android:action="android.credentials.INSTALL" 53 android:targetPackage="com.android.certinstaller" 54 android:targetClass="com.android.certinstaller.CertInstallerMain"> 55 <!-- Same value as CERTIFICATE_USAGE_WIFI in keystore/java/android/security/Credentials.java --> 56 <extra android:name="certificate_install_usage" android:value="wifi"/> 57 </intent> 58 </Preference> 59 60 <Preference 61 android:key="network_scorer_picker" 62 android:title="@string/network_scorer_picker_title" 63 android:fragment="com.android.settings.network.NetworkScorerPicker" 64 settings:controller="com.android.settings.network.NetworkScorerPickerPreferenceController" /> 65 66 <Preference 67 android:key="wifi_direct" 68 android:title="@string/wifi_menu_p2p" 69 android:fragment="com.android.settings.wifi.p2p.WifiP2pSettings" /> 70 71 <Preference 72 android:key="mac_address" 73 android:title="@string/wifi_advanced_mac_address_title" /> 74 75 <Preference 76 android:key="current_ip_address" 77 android:title="@string/wifi_advanced_ip_address_title" /> 78 79</PreferenceScreen> 80