1<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2016 The Android Open Source Project 2 3 Licensed under the Apache License, Version 2.0 (the "License"); 4 you may not use this file except in compliance with the License. 5 You may obtain a copy of the License at 6 7 http://www.apache.org/licenses/LICENSE-2.0 8 9 Unless required by applicable law or agreed to in writing, software 10 distributed under the License is distributed on an "AS IS" BASIS, 11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 See the License for the specific language governing permissions and 13 limitations under the License. 14--> 15<PreferenceScreen 16 xmlns:android="http://schemas.android.com/apk/res/android" 17 xmlns:app="http://schemas.android.com/apk/res/com.android.emergency"> 18 19 <com.android.emergency.preferences.EmergencyEditTextPreference 20 android:enabled="false" 21 android:focusable="true" 22 android:icon="@drawable/ic_home_24dp" 23 android:key="address" 24 android:selectable="false" 25 android:shouldDisableView="false" 26 android:summary="@string/unknown_address" 27 android:title="@string/address" /> 28 29 <com.android.emergency.preferences.EmergencyListPreference 30 android:enabled="false" 31 android:focusable="true" 32 android:icon="@drawable/ic_bloodtype_24dp" 33 android:entries="@array/blood_type_entries" 34 android:entryValues="@array/blood_type_values" 35 android:key="blood_type" 36 android:selectable="false" 37 android:shouldDisableView="false" 38 android:summary="@string/unknown_organ_donor" 39 android:title="@string/blood_type" 40 app:entryContentDescriptions="@array/blood_type_content_description" /> 41 42 <com.android.emergency.preferences.EmergencyEditTextPreference 43 android:enabled="false" 44 android:focusable="true" 45 android:icon="@drawable/ic_allergies_black_24dp" 46 android:key="allergies" 47 android:selectable="false" 48 android:shouldDisableView="false" 49 android:summary="@string/unknown_allergies" 50 android:title="@string/allergies" /> 51 52 <com.android.emergency.preferences.EmergencyEditTextPreference 53 android:enabled="false" 54 android:focusable="true" 55 android:icon="@drawable/ic_medication_24dp" 56 android:key="medications" 57 android:selectable="false" 58 android:shouldDisableView="false" 59 android:summary="@string/unknown_medications" 60 android:title="@string/medications" /> 61 62 <com.android.emergency.preferences.EmergencyListPreference 63 android:enabled="false" 64 android:focusable="true" 65 android:icon="@drawable/ic_favorite_border_24dp" 66 android:entries="@array/organ_donor_entries" 67 android:entryValues="@array/organ_donor_values" 68 android:key="organ_donor" 69 android:selectable="false" 70 android:shouldDisableView="false" 71 android:summary="@string/unknown_organ_donor" 72 android:title="@string/organ_donor" /> 73 74 <com.android.emergency.preferences.EmergencyEditTextPreference 75 android:enabled="false" 76 android:focusable="true" 77 android:icon="@drawable/ic_note_alt_24dp" 78 android:key="medical_conditions" 79 android:selectable="false" 80 android:shouldDisableView="false" 81 android:summary="@string/unknown_medical_conditions" 82 android:title="@string/medical_conditions" /> 83</PreferenceScreen> 84