mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 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 | --> |
Fan Zhang | 0326efa | 2018-05-15 17:37:34 -0700 | [diff] [blame] | 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 | |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 19 | <com.android.emergency.preferences.EmergencyEditTextPreference |
| 20 | android:enabled="false" |
mariagpuyol | f233c54 | 2016-03-17 10:52:12 -0700 | [diff] [blame] | 21 | android:focusable="true" |
Fan Zhang | 0326efa | 2018-05-15 17:37:34 -0700 | [diff] [blame] | 22 | android:icon="@drawable/ic_home_24dp" |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 23 | android:key="address" |
| 24 | android:selectable="false" |
| 25 | android:shouldDisableView="false" |
mariagpuyol | a4ef3ba | 2016-03-24 19:10:20 -0700 | [diff] [blame] | 26 | android:summary="@string/unknown_address" |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 27 | android:title="@string/address" /> |
| 28 | |
mariagpuyol | 09f34da | 2016-03-31 12:26:59 -0700 | [diff] [blame] | 29 | <com.android.emergency.preferences.EmergencyListPreference |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 30 | android:enabled="false" |
mariagpuyol | f233c54 | 2016-03-17 10:52:12 -0700 | [diff] [blame] | 31 | android:focusable="true" |
Fan Zhang | 0326efa | 2018-05-15 17:37:34 -0700 | [diff] [blame] | 32 | android:icon="@drawable/ic_bloodtype_24dp" |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 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" |
mariagpuyol | a4ef3ba | 2016-03-24 19:10:20 -0700 | [diff] [blame] | 38 | android:summary="@string/unknown_organ_donor" |
mariagpuyol | 09f34da | 2016-03-31 12:26:59 -0700 | [diff] [blame] | 39 | android:title="@string/blood_type" |
mariagpuyol | 19ea983 | 2016-03-31 17:48:32 -0700 | [diff] [blame] | 40 | app:entryContentDescriptions="@array/blood_type_content_description" /> |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 41 | |
| 42 | <com.android.emergency.preferences.EmergencyEditTextPreference |
| 43 | android:enabled="false" |
mariagpuyol | f233c54 | 2016-03-17 10:52:12 -0700 | [diff] [blame] | 44 | android:focusable="true" |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 45 | android:icon="@drawable/ic_allergies_black_24dp" |
| 46 | android:key="allergies" |
| 47 | android:selectable="false" |
| 48 | android:shouldDisableView="false" |
mariagpuyol | a4ef3ba | 2016-03-24 19:10:20 -0700 | [diff] [blame] | 49 | android:summary="@string/unknown_allergies" |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 50 | android:title="@string/allergies" /> |
| 51 | |
| 52 | <com.android.emergency.preferences.EmergencyEditTextPreference |
| 53 | android:enabled="false" |
mariagpuyol | f233c54 | 2016-03-17 10:52:12 -0700 | [diff] [blame] | 54 | android:focusable="true" |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 55 | android:icon="@drawable/ic_medication_24dp" |
| 56 | android:key="medications" |
| 57 | android:selectable="false" |
| 58 | android:shouldDisableView="false" |
mariagpuyol | a4ef3ba | 2016-03-24 19:10:20 -0700 | [diff] [blame] | 59 | android:summary="@string/unknown_medications" |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 60 | android:title="@string/medications" /> |
| 61 | |
| 62 | <com.android.emergency.preferences.EmergencyListPreference |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 63 | android:enabled="false" |
mariagpuyol | f233c54 | 2016-03-17 10:52:12 -0700 | [diff] [blame] | 64 | android:focusable="true" |
Fan Zhang | 0326efa | 2018-05-15 17:37:34 -0700 | [diff] [blame] | 65 | android:icon="@drawable/ic_favorite_border_24dp" |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 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" |
mariagpuyol | a4ef3ba | 2016-03-24 19:10:20 -0700 | [diff] [blame] | 71 | android:summary="@string/unknown_organ_donor" |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 72 | android:title="@string/organ_donor" /> |
| 73 | |
| 74 | <com.android.emergency.preferences.EmergencyEditTextPreference |
| 75 | android:enabled="false" |
mariagpuyol | f233c54 | 2016-03-17 10:52:12 -0700 | [diff] [blame] | 76 | android:focusable="true" |
Fan Zhang | 0326efa | 2018-05-15 17:37:34 -0700 | [diff] [blame] | 77 | android:icon="@drawable/ic_note_alt_24dp" |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 78 | android:key="medical_conditions" |
| 79 | android:selectable="false" |
| 80 | android:shouldDisableView="false" |
mariagpuyol | a4ef3ba | 2016-03-24 19:10:20 -0700 | [diff] [blame] | 81 | android:summary="@string/unknown_medical_conditions" |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 82 | android:title="@string/medical_conditions" /> |
| 83 | </PreferenceScreen> |