1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  Copyright (C) 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:key="my_device_info_pref_screen"
22    android:title="@string/about_settings">
23
24    <com.android.settingslib.widget.LayoutPreference
25        android:key="my_device_info_header"
26        android:order="0"
27        android:layout="@layout/settings_entity_header"
28        android:selectable="false"
29        settings:isPreferenceVisible="false"/>
30
31    <!-- Device name -->
32    <com.android.settings.widget.ValidatedEditTextPreference
33        android:key="device_name"
34        android:order="1"
35        android:title="@string/my_device_info_device_name_preference_title"
36        android:summary="@string/summary_placeholder"
37        settings:controller="com.android.settings.deviceinfo.DeviceNamePreferenceController"
38        settings:enableCopying="true"/>
39
40    <!-- Account name -->
41    <Preference
42        android:key="branded_account"
43        android:order="2"
44        android:title="@string/my_device_info_account_preference_title"
45        android:summary="@string/summary_placeholder"
46        settings:controller="com.android.settings.deviceinfo.BrandedAccountPreferenceController"/>
47
48    <!-- Phone number -->
49    <Preference
50        android:key="phone_number"
51        android:order="3"
52        android:title="@string/status_number"
53        android:summary="@string/summary_placeholder"
54        android:selectable="false"
55        settings:controller="com.android.settings.deviceinfo.PhoneNumberPreferenceController"
56        settings:enableCopying="true"/>
57
58    <Preference
59        android:key="emergency_info"
60        android:order="14"
61        android:title="@string/emergency_info_title"
62        android:summary="@string/summary_placeholder"
63        settings:controller="com.android.settings.accounts.EmergencyInfoPreferenceController"/>
64
65    <!-- Legal information -->
66    <Preference
67        android:key="legal_container"
68        android:order="15"
69        android:title="@string/legal_information"
70        android:fragment="com.android.settings.LegalSettings"
71        settings:allowDividerAbove="true"
72        settings:searchable="false"/>
73
74    <!-- Regulatory labels -->
75    <Preference
76        android:key="regulatory_info"
77        android:order="16"
78        android:title="@string/regulatory_labels">
79        <intent android:action="android.settings.SHOW_REGULATORY_INFO"/>
80    </Preference>
81
82    <!-- Safety & regulatory manual -->
83    <Preference
84        android:key="safety_info"
85        android:order="17"
86        android:title="@string/safety_and_regulatory_info">
87        <intent android:action="android.settings.SHOW_SAFETY_AND_REGULATORY_INFO"/>
88    </Preference>
89
90    <!-- SIM status -->
91    <Preference
92        android:key="sim_status"
93        android:order="18"
94        android:title="@string/sim_status_title"
95        settings:keywords="@string/keywords_sim_status"
96        android:summary="@string/summary_placeholder"
97        settings:allowDividerAbove="true"/>
98
99    <!-- Model & hardware -->
100    <Preference
101        android:key="device_model"
102        android:order="31"
103        android:title="@string/hardware_info"
104        settings:keywords="@string/keywords_model_and_hardware"
105        android:summary="@string/summary_placeholder"
106        android:fragment="com.android.settings.deviceinfo.hardwareinfo.HardwareInfoFragment"
107        settings:controller="com.android.settings.deviceinfo.HardwareInfoPreferenceController"/>
108
109    <!-- IMEI -->
110    <Preference
111        android:key="imei_info"
112        android:order="32"
113        android:title="@string/status_imei"
114        settings:keywords="@string/keywords_imei_info"
115        android:summary="@string/summary_placeholder"
116        settings:controller="com.android.settings.deviceinfo.imei.ImeiInfoPreferenceController"/>
117
118    <!-- Android version -->
119    <Preference
120        android:key="firmware_version"
121        android:order="42"
122        android:title="@string/firmware_version"
123        android:summary="@string/summary_placeholder"
124        android:fragment="com.android.settings.deviceinfo.firmwareversion.FirmwareVersionSettings"
125        settings:controller="com.android.settings.deviceinfo.firmwareversion.FirmwareVersionPreferenceController"/>
126
127    <!--IP address -->
128    <Preference
129        android:key="wifi_ip_address"
130        android:order="44"
131        android:title="@string/wifi_ip_address"
132        android:summary="@string/summary_placeholder"
133        android:selectable="false"
134        settings:allowDividerAbove="true"
135        settings:enableCopying="true"/>
136
137    <!-- Wi-Fi MAC address -->
138    <Preference
139        android:key="wifi_mac_address"
140        android:order="45"
141        android:title="@string/status_wifi_mac_address"
142        android:summary="@string/summary_placeholder"
143        android:selectable="false"
144        settings:enableCopying="true"/>
145
146    <!-- Bluetooth address -->
147    <Preference
148        android:key="bt_address"
149        android:order="46"
150        android:title="@string/status_bt_address"
151        android:summary="@string/summary_placeholder"
152        android:selectable="false"
153        settings:enableCopying="true"/>
154
155    <!-- Device up time -->
156    <Preference
157        android:key="up_time"
158        android:order="47"
159        android:title="@string/status_up_time"
160        android:summary="@string/summary_placeholder"
161        android:selectable="false"/>
162
163    <!-- Manual -->
164    <Preference
165        android:key="manual"
166        android:order="50"
167        android:title="@string/manual">
168        <intent android:action="android.settings.SHOW_MANUAL"/>
169    </Preference>
170
171    <!-- Feedback on the device -->
172    <Preference
173        android:key="device_feedback"
174        android:order="51"
175        android:title="@string/device_feedback"
176        settings:keywords="@string/keywords_device_feedback"/>
177
178    <!-- Device FCC equipment id -->
179    <Preference
180        android:key="fcc_equipment_id"
181        android:order="52"
182        android:title="@string/fcc_equipment_id"
183        android:summary="@string/summary_placeholder"/>
184
185    <!-- Build number -->
186    <Preference
187        android:key="build_number"
188        android:order="53"
189        android:title="@string/build_number"
190        android:summary="@string/summary_placeholder"
191        settings:allowDividerAbove="true"
192        settings:enableCopying="true"
193        settings:controller="com.android.settings.deviceinfo.BuildNumberPreferenceController"/>
194
195</PreferenceScreen>
196