Home | History | Annotate | Download | only in xml
      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.settings.applications.LayoutPreference
     23         android:key="connection_header"
     24         android:layout="@layout/settings_entity_header"
     25         android:selectable="false"
     26         android:order="-10000"/>
     27 
     28     <!-- Buttons -->
     29     <com.android.settings.widget.ActionButtonPreference
     30         android:key="buttons"
     31         android:selectable="false" />
     32 
     33     <!-- General Details Category -->
     34     <PreferenceCategory
     35             android:key="general_details_category" >
     36         <com.android.settings.wifi.WifiDetailPreference
     37                 android:key="signal_strength"
     38                 android:title="@string/wifi_signal"
     39                 android:selectable="false"/>
     40 
     41         <com.android.settings.wifi.WifiDetailPreference
     42                 android:key="frequency"
     43                 android:icon="@drawable/ic_frequency_antenna"
     44                 android:title="@string/wifi_frequency"
     45                 android:selectable="false"/>
     46 
     47         <com.android.settings.wifi.WifiDetailPreference
     48                 android:key="security"
     49                 android:icon="@drawable/ic_security_lock_24dp"
     50                 android:title="@string/wifi_security"
     51                 android:selectable="false"/>
     52 
     53         <DropDownPreference
     54                 android:key="metered"
     55                 android:icon="@drawable/ic_attach_money_black_24dp"
     56                 android:title="@string/data_usage_metered_yes"
     57                 android:entries="@array/wifi_metered_entries"
     58                 android:entryValues="@array/wifi_metered_values"/>
     59     </PreferenceCategory>
     60 
     61     <!-- Network Details -->
     62     <PreferenceCategory
     63             android:key="ip_details_category"
     64             android:title="@string/wifi_setup_detail">
     65         <com.android.settings.wifi.WifiDetailPreference
     66             android:key="mac_address"
     67             android:title="@string/wifi_advanced_mac_address_title"
     68             android:selectable="false"/>
     69         <com.android.settings.wifi.WifiDetailPreference
     70                 android:key="ip_address"
     71                 android:title="@string/wifi_ip_address"
     72                 android:selectable="false"/>
     73         <com.android.settings.wifi.WifiDetailPreference
     74                 android:key="gateway"
     75                 android:title="@string/wifi_gateway"
     76                 android:selectable="false"/>
     77         <com.android.settings.wifi.WifiDetailPreference
     78                 android:key="subnet_mask"
     79                 android:title="@string/wifi_details_subnet_mask"
     80                 android:selectable="false"/>
     81         <com.android.settings.wifi.WifiDetailPreference
     82                 android:key="dns"
     83                 android:title="@string/wifi_details_dns"
     84                 android:selectable="false"/>
     85         <com.android.settings.wifi.WifiDetailPreference
     86                 android:key="link_speed"
     87                 android:title="@string/wifi_speed"
     88                 android:selectable="false"/>
     89     </PreferenceCategory>
     90 
     91     <!-- IPv6 Details -->
     92     <PreferenceCategory
     93             android:key="ipv6_category"
     94             android:title="@string/wifi_details_ipv6_address_header"
     95             android:selectable="false">
     96         <Preference
     97                 android:key="ipv6_addresses"
     98                 android:selectable="false"/>
     99     </PreferenceCategory>
    100 </PreferenceScreen>
    101