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