OSDN Git Service

Merge "Fix Bluetooth device details crash on screen rotation" into oc-dr1-dev
[android-x86/packages-apps-Settings.git] / res / xml / wifi_network_details_fragment.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/com.android.settings" >
20
21     <com.android.settings.applications.LayoutPreference
22         android:key="connection_header"
23         android:layout="@layout/settings_entity_header"
24         android:selectable="false"
25         android:order="-10000"/>
26
27     <!-- General Details Category -->
28     <PreferenceCategory
29             android:key="general_details_category" >
30         <!-- Buttons -->
31         <com.android.settings.applications.LayoutPreference
32             android:key="buttons"
33             android:layout="@layout/wifi_network_details_two_buttons_panel"
34             android:selectable="false" />
35
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     </PreferenceCategory>
53
54     <!-- Network Details -->
55     <PreferenceCategory
56             android:key="ip_details_category"
57             android:title="@string/wifi_setup_detail">
58         <com.android.settings.wifi.WifiDetailPreference
59             android:key="mac_address"
60             android:title="@string/wifi_advanced_mac_address_title"
61             android:selectable="false"/>
62         <com.android.settings.wifi.WifiDetailPreference
63                 android:key="ip_address"
64                 android:title="@string/wifi_ip_address"
65                 android:selectable="false"/>
66         <com.android.settings.wifi.WifiDetailPreference
67                 android:key="gateway"
68                 android:title="@string/wifi_gateway"
69                 android:selectable="false"/>
70         <com.android.settings.wifi.WifiDetailPreference
71                 android:key="subnet_mask"
72                 android:title="@string/wifi_details_subnet_mask"
73                 android:selectable="false"/>
74         <com.android.settings.wifi.WifiDetailPreference
75                 android:key="dns"
76                 android:title="@string/wifi_details_dns"
77                 android:selectable="false"/>
78         <com.android.settings.wifi.WifiDetailPreference
79                 android:key="link_speed"
80                 android:title="@string/wifi_speed"
81                 android:selectable="false"/>
82     </PreferenceCategory>
83
84     <!-- IPv6 Details -->
85     <PreferenceCategory
86             android:key="ipv6_category"
87             android:title="@string/wifi_details_ipv6_address_header"
88             android:selectable="false">
89         <Preference
90                 android:key="ipv6_addresses"
91                 android:selectable="false"/>
92     </PreferenceCategory>
93
94 </PreferenceScreen>