1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright 2018 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16--> 17 18<PreferenceScreen 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:settings="http://schemas.android.com/apk/res-auto" 21 android:title="@string/wifi_settings"> 22 <!-- General Details Category --> 23 <com.android.car.settings.common.LogicalPreferenceGroup> 24 <com.android.car.settings.wifi.details.WifiDetailsPreference 25 android:key="@string/pk_wifi_signal_strength" 26 android:selectable="false" 27 android:title="@string/wifi_signal_strength" 28 settings:controller="com.android.car.settings.wifi.details.WifiSignalStrengthPreferenceController"/> 29 <com.android.car.settings.wifi.details.WifiDetailsPreference 30 android:key="@string/pk_wifi_frequency" 31 android:selectable="false" 32 android:title="@string/wifi_frequency" 33 settings:controller="com.android.car.settings.wifi.details.WifiFrequencyPreferenceController"/> 34 <com.android.car.settings.wifi.details.WifiDetailsPreference 35 android:key="@string/pk_wifi_security" 36 android:selectable="false" 37 android:title="@string/wifi_security" 38 settings:controller="com.android.car.settings.wifi.details.WifiSecurityPreferenceController"/> 39 </com.android.car.settings.common.LogicalPreferenceGroup> 40 41 <!-- Ip Details Category --> 42 <PreferenceCategory 43 android:title="@string/wifi_network_detail"> 44 <com.android.car.settings.wifi.details.WifiDetailsPreference 45 android:key="@string/pk_wifi_mac_address" 46 android:selectable="false" 47 android:title="@string/wifi_mac_address" 48 settings:controller="com.android.car.settings.wifi.details.WifiMacAddressPreferenceController"/> 49 <com.android.car.settings.wifi.details.WifiDetailsPreference 50 android:key="@string/pk_wifi_ip" 51 android:selectable="false" 52 android:title="@string/wifi_ip_address" 53 settings:controller="com.android.car.settings.wifi.details.WifiIpAddressPreferenceController"/> 54 <com.android.car.settings.wifi.details.WifiDetailsPreference 55 android:key="@string/pk_wifi_gateway" 56 android:selectable="false" 57 android:title="@string/wifi_gateway" 58 settings:controller="com.android.car.settings.wifi.details.WifiGatewayPreferenceController"/> 59 <com.android.car.settings.wifi.details.WifiDetailsPreference 60 android:key="@string/pk_wifi_subnet_mask" 61 android:selectable="false" 62 android:title="@string/wifi_subnet_mask" 63 settings:controller="com.android.car.settings.wifi.details.WifiSubnetPreferenceController"/> 64 <com.android.car.settings.wifi.details.WifiDetailsPreference 65 android:key="@string/pk_wifi_dns" 66 android:selectable="false" 67 android:title="@string/wifi_dns" 68 settings:controller="com.android.car.settings.wifi.details.WifiDnsPreferenceController"/> 69 <com.android.car.settings.wifi.details.WifiDetailsPreference 70 android:key="@string/pk_wifi_link_speed" 71 android:selectable="false" 72 android:title="@string/wifi_speed" 73 settings:controller="com.android.car.settings.wifi.details.WifiLinkSpeedPreferenceController"/> 74 </PreferenceCategory> 75 76 <!-- IPv6 Details --> 77 <PreferenceCategory 78 android:selectable="false" 79 android:title="@string/wifi_details_ipv6_address_header"> 80 <Preference 81 android:key="@string/pk_wifi_ipv6" 82 android:selectable="false" 83 settings:controller="com.android.car.settings.wifi.details.WifiIpv6AddressPreferenceController" 84 settings:showChevron="false"/> 85 </PreferenceCategory> 86</PreferenceScreen> 87