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 <!-- Hotspot device details category --> 44 <PreferenceCategory 45 android:key="hotspot_device_details_category" 46 android:title="@string/hotspot_device_details_category" 47 settings:isPreferenceVisible="false"> 48 <Preference 49 android:key="hotspot_device_details_internet_source" 50 android:title="@string/hotspot_device_details_internet_source" 51 android:selectable="false" 52 settings:enableCopying="true"/> 53 <Preference 54 android:key="hotspot_device_details_battery" 55 android:icon="@drawable/ic_battery_full" 56 android:title="@string/power_usage_summary_title" 57 android:selectable="false" 58 settings:enableCopying="true"/> 59 </PreferenceCategory> 60 61 <!-- Hotspot connection category --> 62 <PreferenceCategory 63 android:key="hotspot_connection_category" 64 android:title="@string/hotspot_connection_category" 65 settings:isPreferenceVisible="false"> 66 </PreferenceCategory> 67 68 <!-- General Details Preferences --> 69 <Preference 70 android:key="signal_strength" 71 android:title="@string/wifi_signal" 72 android:selectable="false"/> 73 74 <Preference 75 android:key="frequency" 76 android:icon="@drawable/ic_frequency_antenna" 77 android:title="@string/wifi_frequency" 78 android:selectable="false"/> 79 80 <Preference 81 android:key="security" 82 android:icon="@drawable/ic_security_lock_24dp" 83 android:title="@string/wifi_security" 84 android:selectable="false"/> 85 86 <ListPreference 87 android:key="metered" 88 android:icon="@drawable/ic_attach_money_black_24dp" 89 android:title="@string/wifi_metered_title" 90 android:entries="@array/wifi_metered_entries" 91 android:entryValues="@array/wifi_metered_values"/> 92 93 <ListPreference 94 android:key="privacy" 95 android:icon="@drawable/ic_wifi_privacy_24dp" 96 android:title="@string/wifi_privacy_settings" 97 android:entries="@array/wifi_privacy_entries" 98 android:entryValues="@array/wifi_privacy_values"/> 99 100 <com.android.settings.spa.preference.ComposePreference 101 android:key="privacy_settings" 102 android:title="@string/wifi_privacy_settings" 103 settings:controller="com.android.settings.wifi.details2.WifiPrivacyPreferenceController"/> 104 105 <Preference 106 android:key="subscription_detail" 107 android:title="@string/wifi_subscription" 108 android:summary="@string/wifi_subscription_summary"/> 109 110 <SwitchPreferenceCompat 111 android:key="auto_connect" 112 android:title="@string/wifi_auto_connect_title" 113 android:summary="@string/wifi_auto_connect_summary"/> 114 115 <com.android.settings.spa.preference.ComposePreference 116 android:key="certificate_details" 117 settings:controller="com.android.settings.wifi.details2.CertificateDetailsPreferenceController"/> 118 119 <!-- Add device Preference --> 120 <Preference 121 android:key="add_device_to_network" 122 android:title="@string/wifi_dpp_add_device" 123 android:summary="@string/wifi_dpp_connect_network_using_qr_code"/> 124 125 <!-- Network Details --> 126 <PreferenceCategory 127 android:key="ip_details_category" 128 android:title="@string/wifi_setup_detail"> 129 <com.android.settings.spa.preference.ComposePreference 130 android:key="server_name" 131 settings:controller="com.android.settings.wifi.details2.ServerNamePreferenceController"/> 132 <Preference 133 android:key="type" 134 android:title="@string/wifi_type_title" 135 android:selectable="false" 136 settings:enableCopying="true"/> 137 <Preference 138 android:key="ssid" 139 android:title="@string/wifi_advanced_ssid_title" 140 android:selectable="false" 141 settings:enableCopying="true"/> 142 <Preference 143 android:key="eap_sim_subscription" 144 android:title="@string/sim_card" 145 android:selectable="false" 146 settings:enableCopying="true"/> 147 <Preference 148 android:key="mac_address" 149 android:title="@string/wifi_advanced_randomized_mac_address_title" 150 android:selectable="false" 151 settings:enableCopying="true"/> 152 <Preference 153 android:key="ip_address" 154 android:title="@string/wifi_ip_address" 155 android:selectable="false" 156 settings:enableCopying="true"/> 157 <Preference 158 android:key="gateway" 159 android:title="@string/wifi_gateway" 160 android:selectable="false" 161 settings:enableCopying="true"/> 162 <Preference 163 android:key="subnet_mask" 164 android:title="@string/wifi_details_subnet_mask" 165 android:selectable="false" 166 settings:enableCopying="true"/> 167 <Preference 168 android:key="dns" 169 android:title="@string/wifi_details_dns" 170 android:selectable="false" 171 settings:enableCopying="true"/> 172 <Preference 173 android:key="tx_link_speed" 174 android:title="@string/tx_wifi_speed" 175 android:selectable="false" 176 settings:enableCopying="true"/> 177 <Preference 178 android:key="rx_link_speed" 179 android:title="@string/rx_wifi_speed" 180 android:selectable="false" 181 settings:enableCopying="true"/> 182 </PreferenceCategory> 183 184 <!-- IPv6 address --> 185 <Preference 186 android:title="@string/wifi_details_ipv6_address_header" 187 android:key="ipv6_addresses" 188 android:selectable="false" 189 settings:enableCopying="true"/> 190 191</PreferenceScreen> 192