blob: 92f68cc4665c0c31e5fc9e8c8065b947d55faf81 [file] [log] [blame]
Arc Wang7dda07f2020-01-03 15:56:31 +08001<?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 settings:initialExpandedChildrenCount="5">
21
22 <com.android.settingslib.widget.LayoutPreference
23 android:key="connection_header"
24 android:layout="@layout/settings_entity_header"
25 android:selectable="false"
26 android:order="-10000"
27 settings:allowDividerBelow="true"/>
28
29 <com.android.settings.datausage.DataUsageSummaryPreference
30 android:key="status_header"
31 android:selectable="false"
32 settings:isPreferenceVisible="false"/>
33
Arc Wangc6c4d032020-04-17 11:13:34 +080034 <!-- The preference to display the second summary -->
35 <com.android.settings.widget.LinkifySummaryPreference
36 android:key="second_summary"
37 android:icon="@drawable/ic_info_outline_24dp"
38 android:selectable="false"
39 settings:allowDividerAbove="false"/>
40
Arc Wang7dda07f2020-01-03 15:56:31 +080041 <!-- Buttons -->
42 <com.android.settingslib.widget.ActionButtonsPreference
43 android:key="buttons"
Arc Wangc6c4d032020-04-17 11:13:34 +080044 android:selectable="false"
45 settings:allowDividerAbove="true"/>
Arc Wang7dda07f2020-01-03 15:56:31 +080046
47 <!-- General Details Preferences -->
48 <Preference
49 android:key="signal_strength"
50 android:title="@string/wifi_signal"
51 android:selectable="false"
52 settings:allowDividerAbove="true"/>
53
54 <Preference
55 android:key="frequency"
56 android:icon="@drawable/ic_frequency_antenna"
57 android:title="@string/wifi_frequency"
58 android:selectable="false"/>
59
60 <Preference
61 android:key="security"
62 android:icon="@drawable/ic_security_lock_24dp"
63 android:title="@string/wifi_security"
64 android:selectable="false"/>
65
66 <DropDownPreference
67 android:key="metered"
68 android:icon="@drawable/ic_attach_money_black_24dp"
69 android:title="@string/wifi_metered_title"
70 android:entries="@array/wifi_metered_entries"
71 android:entryValues="@array/wifi_metered_values"/>
72
73 <DropDownPreference
74 android:key="privacy"
75 android:icon="@drawable/ic_wifi_privacy_24dp"
76 android:title="@string/wifi_privacy_settings"
77 android:entries="@array/wifi_privacy_entries"
78 android:entryValues="@array/wifi_privacy_values"/>
79
govenliu7d8d8d32020-02-24 15:31:34 +080080 <Preference
81 android:key="subscription_detail"
82 android:title="@string/wifi_subscription"
83 android:summary="@string/wifi_subscription_summary"
84 settings:allowDividerAbove="true"/>
85
Arc Wang7dda07f2020-01-03 15:56:31 +080086 <SwitchPreference
87 android:key="auto_connect"
88 android:title="@string/wifi_auto_connect_title"
89 android:summary="@string/wifi_auto_connect_summary"
90 settings:allowDividerAbove="true"/>
91
92 <!-- Add device Preference -->
93 <Preference
94 android:key="add_device_to_network"
95 android:title="@string/wifi_dpp_add_device"
96 android:summary="@string/wifi_dpp_connect_network_using_qr_code"
97 settings:allowDividerAbove="true"/>
98
99 <!-- Network Details -->
100 <PreferenceCategory
101 android:key="ip_details_category"
102 android:title="@string/wifi_setup_detail">
103 <Preference
104 android:key="ssid"
105 android:title="@string/wifi_advanced_ssid_title"
106 android:selectable="false"
107 settings:enableCopying="true"/>
108 <Preference
109 android:key="mac_address"
110 android:title="@string/wifi_advanced_randomized_mac_address_title"
111 android:selectable="false"
112 settings:enableCopying="true"/>
113 <Preference
114 android:key="ip_address"
115 android:title="@string/wifi_ip_address"
116 android:selectable="false"
117 settings:enableCopying="true"/>
118 <Preference
119 android:key="gateway"
120 android:title="@string/wifi_gateway"
121 android:selectable="false"
122 settings:enableCopying="true"/>
123 <Preference
124 android:key="subnet_mask"
125 android:title="@string/wifi_details_subnet_mask"
126 android:selectable="false"
127 settings:enableCopying="true"/>
128 <Preference
129 android:key="dns"
130 android:title="@string/wifi_details_dns"
131 android:selectable="false"
132 settings:enableCopying="true"/>
133 <Preference
134 android:key="tx_link_speed"
135 android:title="@string/tx_wifi_speed"
136 android:selectable="false"
137 settings:enableCopying="true"/>
138 <Preference
139 android:key="rx_link_speed"
140 android:title="@string/rx_wifi_speed"
141 android:selectable="false"
142 settings:enableCopying="true"/>
143 </PreferenceCategory>
144
145 <!-- IPv6 Details -->
146 <PreferenceCategory
147 android:key="ipv6_category"
148 android:title="@string/wifi_details_ipv6_address_header"
149 android:selectable="false">
150 <Preference
151 android:key="ipv6_addresses"
152 android:selectable="false"
153 settings:enableCopying="true"/>
154 </PreferenceCategory>
govenliu824796d2020-02-19 22:22:47 +0800155
Arc Wang7dda07f2020-01-03 15:56:31 +0800156</PreferenceScreen>