1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2016 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 settings:initialExpandedChildrenCount="5"> 21 22 <com.android.settingslib.widget.LayoutPreference 23 android:key="connection_header" 24 android:layout="@layout/settings_entity_header" 25 android:selectable="false" 26 android:order="-10000" 27 settings:allowDividerBelow="true"/> 28 29 <com.android.settings.datausage.DataUsageSummaryPreference 30 android:key="status_header" 31 android:selectable="false" 32 settings:isPreferenceVisible="false"/> 33 34 <!-- Buttons --> 35 <com.android.settingslib.widget.ActionButtonsPreference 36 android:key="buttons" 37 android:selectable="false" /> 38 39 <!-- General Details Preferences --> 40 <Preference 41 android:key="signal_strength" 42 android:title="@string/wifi_signal" 43 android:selectable="false" 44 settings:allowDividerAbove="true"/> 45 46 <Preference 47 android:key="frequency" 48 android:icon="@drawable/ic_frequency_antenna" 49 android:title="@string/wifi_frequency" 50 android:selectable="false"/> 51 52 <Preference 53 android:key="security" 54 android:icon="@drawable/ic_security_lock_24dp" 55 android:title="@string/wifi_security" 56 android:selectable="false"/> 57 58 <DropDownPreference 59 android:key="metered" 60 android:icon="@drawable/ic_attach_money_black_24dp" 61 android:title="@string/wifi_metered_title" 62 android:entries="@array/wifi_metered_entries" 63 android:entryValues="@array/wifi_metered_values"/> 64 65 <DropDownPreference 66 android:key="privacy" 67 android:icon="@drawable/ic_wifi_privacy_24dp" 68 android:title="@string/wifi_privacy_settings" 69 android:entries="@array/wifi_privacy_entries" 70 android:entryValues="@array/wifi_privacy_values"/> 71 72 <!-- Add device Preference --> 73 <Preference 74 android:key="add_device_to_network" 75 android:title="@string/wifi_dpp_add_device" 76 android:summary="@string/wifi_dpp_connect_network_using_qr_code" 77 settings:allowDividerAbove="true"/> 78 79 <!-- Network Details --> 80 <PreferenceCategory 81 android:key="ip_details_category" 82 android:title="@string/wifi_setup_detail"> 83 <Preference 84 android:key="ssid" 85 android:title="@string/wifi_advanced_ssid_title" 86 android:selectable="false" 87 settings:enableCopying="true"/> 88 <Preference 89 android:key="mac_address" 90 android:title="@string/wifi_advanced_mac_address_title" 91 android:selectable="false" 92 settings:enableCopying="true"/> 93 <Preference 94 android:key="ip_address" 95 android:title="@string/wifi_ip_address" 96 android:selectable="false" 97 settings:enableCopying="true"/> 98 <Preference 99 android:key="gateway" 100 android:title="@string/wifi_gateway" 101 android:selectable="false" 102 settings:enableCopying="true"/> 103 <Preference 104 android:key="subnet_mask" 105 android:title="@string/wifi_details_subnet_mask" 106 android:selectable="false" 107 settings:enableCopying="true"/> 108 <Preference 109 android:key="dns" 110 android:title="@string/wifi_details_dns" 111 android:selectable="false" 112 settings:enableCopying="true"/> 113 <Preference 114 android:key="tx_link_speed" 115 android:title="@string/tx_wifi_speed" 116 android:selectable="false" 117 settings:enableCopying="true"/> 118 <Preference 119 android:key="rx_link_speed" 120 android:title="@string/rx_wifi_speed" 121 android:selectable="false" 122 settings:enableCopying="true"/> 123 </PreferenceCategory> 124 125 <!-- IPv6 Details --> 126 <PreferenceCategory 127 android:key="ipv6_category" 128 android:title="@string/wifi_details_ipv6_address_header" 129 android:selectable="false"> 130 <Preference 131 android:key="ipv6_addresses" 132 android:selectable="false" 133 settings:enableCopying="true"/> 134 </PreferenceCategory> 135</PreferenceScreen> 136