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.settings.applications.LayoutPreference 25 android:key="my_device_info_header" 26 android:order="0" 27 android:layout="@layout/settings_entity_header" 28 android:selectable="false"/> 29 30 <!-- Device name --> 31 <com.android.settings.widget.ValidatedEditTextPreference 32 android:key="device_name" 33 android:order="1" 34 android:title="@string/my_device_info_device_name_preference_title" 35 android:summary="@string/summary_placeholder"/> 36 37 <!-- Account name --> 38 <Preference 39 android:key="branded_account" 40 android:order="2" 41 android:title="@string/my_device_info_account_preference_title" 42 android:summary="@string/summary_placeholder"/> 43 44 <!-- Phone number --> 45 <Preference 46 android:key="phone_number" 47 android:order="3" 48 android:title="@string/status_number" 49 android:summary="@string/summary_placeholder" 50 android:selectable="false"/> 51 52 <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 settings:allowDividerAbove="true"/> 65 66 <!-- Regulatory labels --> 67 <Preference 68 android:key="regulatory_info" 69 android:order="6" 70 android:title="@string/regulatory_labels"> 71 <intent android:action="android.settings.SHOW_REGULATORY_INFO"/> 72 </Preference> 73 74 <!-- SIM status --> 75 <Preference 76 android:key="sim_status" 77 android:order="7" 78 android:title="@string/sim_status_title" 79 settings:keywords="@string/keywords_sim_status" 80 android:summary="@string/summary_placeholder" 81 settings:allowDividerAbove="true"/> 82 83 <!-- Model & hardware --> 84 <Preference 85 android:key="device_model" 86 android:order="21" 87 android:title="@string/hardware_info" 88 settings:keywords="@string/keywords_model_and_hardware" 89 android:summary="@string/summary_placeholder"/> 90 91 <!-- IMEI --> 92 <Preference 93 android:key="imei_info" 94 android:order="22" 95 android:title="@string/status_imei" 96 settings:keywords="@string/keywords_imei_info" 97 android:summary="@string/summary_placeholder"/> 98 99 <!-- Android version --> 100 <Preference 101 android:key="firmware_version" 102 android:order="32" 103 android:title="@string/firmware_version" 104 settings:keywords="@string/keywords_android_version" 105 android:summary="@string/summary_placeholder"/> 106 107 <!--IP address --> 108 <Preference 109 android:key="wifi_ip_address" 110 android:order="34" 111 android:title="@string/wifi_ip_address" 112 android:summary="@string/summary_placeholder" 113 android:selectable="false" 114 settings:allowDividerAbove="true"/> 115 116 <!-- Wi-Fi MAC address --> 117 <Preference 118 android:key="wifi_mac_address" 119 android:order="35" 120 android:title="@string/status_wifi_mac_address" 121 android:summary="@string/summary_placeholder" 122 android:selectable="false"/> 123 124 <!-- Bluetooth address --> 125 <Preference 126 android:key="bt_address" 127 android:order="36" 128 android:title="@string/status_bt_address" 129 android:summary="@string/summary_placeholder" 130 android:selectable="false"/> 131 132 <!-- Safety & regulatory manual --> 133 <Preference 134 android:key="safety_info" 135 android:order="39" 136 android:title="@string/safety_and_regulatory_info"> 137 <intent android:action="android.settings.SHOW_SAFETY_AND_REGULATORY_INFO"/> 138 </Preference> 139 140 <!-- Manual --> 141 <Preference 142 android:key="manual" 143 android:order="40" 144 android:title="@string/manual"> 145 <intent android:action="android.settings.SHOW_MANUAL"/> 146 </Preference> 147 148 <!-- Feedback on the device --> 149 <Preference 150 android:key="device_feedback" 151 android:order="41" 152 android:title="@string/device_feedback"/> 153 154 <!-- Device FCC equipment id --> 155 <Preference 156 android:key="fcc_equipment_id" 157 android:order="42" 158 android:title="@string/fcc_equipment_id" 159 android:summary="@string/summary_placeholder"/> 160 161 <!-- Build number --> 162 <Preference 163 android:key="build_number" 164 android:order="43" 165 android:title="@string/build_number" 166 android:summary="@string/summary_placeholder" 167 settings:allowDividerAbove="true"/> 168 169 </PreferenceScreen>