blob: dabed8a23256dc382791b10a593af75ac5aca1f7 [file] [log] [blame]
Daniel Nishi87f35e22018-01-22 15:17:25 -08001<?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/my_device_info_title"
Fan Zhang881d5792018-01-26 10:15:56 -080023 settings:initialExpandedChildrenCount="7">
Daniel Nishi87f35e22018-01-22 15:17:25 -080024
25 <com.android.settings.applications.LayoutPreference
26 android:key="my_device_info_header"
27 android:order="0"
28 android:layout="@layout/settings_entity_header"
29 android:selectable="false"/>
30
31 <!-- Account name -->
32 <Preference
Daniel Nishia633b392018-01-17 18:05:13 -080033 android:key="branded_account"
Daniel Nishi87f35e22018-01-22 15:17:25 -080034 android:order="1"
35 android:title="@string/my_device_info_account_preference_title"
36 android:summary="@string/summary_placeholder"/>
37
38 <!-- Phone number -->
39 <Preference
40 android:key="phone_number"
41 android:order="2"
42 android:title="@string/status_number"
43 android:summary="@string/summary_placeholder"/>
44
45 <!-- Device name -->
Daniel Nishia633b392018-01-17 18:05:13 -080046 <com.android.settings.widget.ValidatedEditTextPreference
Daniel Nishi87f35e22018-01-22 15:17:25 -080047 android:key="device_name"
48 android:order="3"
49 android:title="@string/my_device_info_device_name_preference_title"
50 android:summary="@string/summary_placeholder"/>
51
Fan Zhang881d5792018-01-26 10:15:56 -080052 <Preference
53 android:key="emergency_info"
54 android:order="4"
55 android:title="@string/emergency_info_title"
56 android:summary="@string/summary_placeholder"/>
57
58 <!-- Legal information -->
59 <Preference
60 android:key="legal_container"
61 android:order="5"
62 android:title="@string/legal_information"
63 android:fragment="com.android.settings.LegalSettings" />
64
65 <!-- Regulatory labels -->
66 <Preference
67 android:key="regulatory_info"
68 android:order="6"
69 android:title="@string/regulatory_labels">
70 <intent android:action="android.settings.SHOW_REGULATORY_INFO"/>
71 </Preference>
72
Daniel Nishi87f35e22018-01-22 15:17:25 -080073 <!-- SIM status -->
74 <Preference
75 android:key="sim_status"
Fan Zhang881d5792018-01-26 10:15:56 -080076 android:order="7"
Daniel Nishi87f35e22018-01-22 15:17:25 -080077 android:title="@string/sim_status_title"
78 settings:keywords="@string/keywords_sim_status"
79 android:summary="@string/summary_placeholder"/>
80
81 <!-- Model & hardware -->
82 <Preference
83 android:key="device_model"
84 android:order="21"
85 android:title="@string/hardware_info"
86 settings:keywords="@string/keywords_model_and_hardware"
87 android:summary="@string/summary_placeholder"/>
88
89 <!-- IMEI -->
90 <Preference
91 android:key="imei_info"
92 android:order="22"
93 android:title="@string/status_imei"
94 settings:keywords="@string/keywords_imei_info"
95 android:summary="@string/summary_placeholder"/>
96
97 <!-- Android version -->
98 <Preference
99 android:key="firmware_version"
100 android:order="32"
101 android:title="@string/firmware_version"
102 settings:keywords="@string/keywords_android_version"
103 android:summary="@string/summary_placeholder"/>
104
105 <!-- IMS registration -->
106 <Preference
107 android:key="ims_reg_state"
108 android:order="33"
109 android:title="@string/ims_reg_title"
110 android:summary="@string/summary_placeholder"/>
111
112 <!--IP address -->
113 <Preference
114 android:key="wifi_ip_address"
115 android:order="34"
116 android:title="@string/wifi_ip_address"
117 android:summary="@string/summary_placeholder"
118 settings:allowDividerAbove="true"/>
119
120 <!-- Wi-Fi MAC address -->
121 <Preference
122 android:key="wifi_mac_address"
123 android:order="35"
124 android:title="@string/status_wifi_mac_address"
125 android:summary="@string/summary_placeholder"/>
126
127 <!-- Bluetooth address -->
128 <Preference
129 android:key="bt_address"
130 android:order="36"
131 android:title="@string/status_bt_address"
132 android:summary="@string/summary_placeholder"/>
133
Daniel Nishi87f35e22018-01-22 15:17:25 -0800134 <!-- Safety & regulatory manual -->
135 <Preference
136 android:key="safety_info"
137 android:order="39"
138 android:title="@string/safety_and_regulatory_info">
139 <intent android:action="android.settings.SHOW_SAFETY_AND_REGULATORY_INFO"/>
140 </Preference>
141
142 <!-- Manual -->
143 <Preference
144 android:key="manual"
145 android:order="40"
146 android:title="@string/manual">
147 <intent android:action="android.settings.SHOW_MANUAL"/>
148 </Preference>
149
150 <!-- Feedback on the device -->
151 <Preference
152 android:key="device_feedback"
153 android:order="41"
154 android:title="@string/device_feedback"/>
155
156 <!-- Device FCC equipment id -->
157 <Preference
158 android:key="fcc_equipment_id"
159 android:order="42"
160 android:title="@string/fcc_equipment_id"
161 android:summary="@string/summary_placeholder"/>
162
163 <!-- Build number -->
164 <Preference
165 android:key="build_number"
166 android:order="43"
167 android:title="@string/build_number"
168 android:summary="@string/summary_placeholder"
169 settings:allowDividerAbove="true"/>
170
171</PreferenceScreen>