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 | --> |
| 15 | <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> |
| 16 | <com.android.emergency.preferences.EmergencyEditTextPreference |
| 17 | android:enabled="false" |
mariagpuyol | f233c54 | 2016-03-17 10:52:12 -0700 | [diff] [blame] | 18 | android:focusable="true" |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 19 | android:icon="@drawable/ic_address_black_24dp" |
| 20 | android:key="address" |
| 21 | android:selectable="false" |
| 22 | android:shouldDisableView="false" |
mariagpuyol | a4ef3ba | 2016-03-24 19:10:20 -0700 | [diff] [blame] | 23 | android:summary="@string/unknown_address" |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 24 | android:title="@string/address" /> |
| 25 | |
mariagpuyol | 09f34da | 2016-03-31 12:26:59 -0700 | [diff] [blame] | 26 | <com.android.emergency.preferences.EmergencyListPreference |
| 27 | xmlns:app="http://schemas.android.com/apk/res/com.android.emergency" |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 28 | android:enabled="false" |
mariagpuyol | f233c54 | 2016-03-17 10:52:12 -0700 | [diff] [blame] | 29 | android:focusable="true" |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 30 | android:icon="@drawable/ic_bloodtype_black_24dp" |
| 31 | android:entries="@array/blood_type_entries" |
| 32 | android:entryValues="@array/blood_type_values" |
| 33 | android:key="blood_type" |
| 34 | android:selectable="false" |
| 35 | android:shouldDisableView="false" |
mariagpuyol | a4ef3ba | 2016-03-24 19:10:20 -0700 | [diff] [blame] | 36 | android:summary="@string/unknown_organ_donor" |
mariagpuyol | 09f34da | 2016-03-31 12:26:59 -0700 | [diff] [blame] | 37 | android:title="@string/blood_type" |
mariagpuyol | 19ea983 | 2016-03-31 17:48:32 -0700 | [diff] [blame] | 38 | app:entryContentDescriptions="@array/blood_type_content_description" /> |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 39 | |
| 40 | <com.android.emergency.preferences.EmergencyEditTextPreference |
| 41 | android:enabled="false" |
mariagpuyol | f233c54 | 2016-03-17 10:52:12 -0700 | [diff] [blame] | 42 | android:focusable="true" |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 43 | android:icon="@drawable/ic_allergies_black_24dp" |
| 44 | android:key="allergies" |
| 45 | android:selectable="false" |
| 46 | android:shouldDisableView="false" |
mariagpuyol | a4ef3ba | 2016-03-24 19:10:20 -0700 | [diff] [blame] | 47 | android:summary="@string/unknown_allergies" |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 48 | android:title="@string/allergies" /> |
| 49 | |
| 50 | <com.android.emergency.preferences.EmergencyEditTextPreference |
| 51 | android:enabled="false" |
mariagpuyol | f233c54 | 2016-03-17 10:52:12 -0700 | [diff] [blame] | 52 | android:focusable="true" |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 53 | android:icon="@drawable/ic_medication_24dp" |
| 54 | android:key="medications" |
| 55 | android:selectable="false" |
| 56 | android:shouldDisableView="false" |
mariagpuyol | a4ef3ba | 2016-03-24 19:10:20 -0700 | [diff] [blame] | 57 | android:summary="@string/unknown_medications" |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 58 | android:title="@string/medications" /> |
| 59 | |
| 60 | <com.android.emergency.preferences.EmergencyListPreference |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 61 | android:enabled="false" |
mariagpuyol | f233c54 | 2016-03-17 10:52:12 -0700 | [diff] [blame] | 62 | android:focusable="true" |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 63 | android:icon="@drawable/ic_heart_black_24dp" |
| 64 | android:entries="@array/organ_donor_entries" |
| 65 | android:entryValues="@array/organ_donor_values" |
| 66 | android:key="organ_donor" |
| 67 | android:selectable="false" |
| 68 | android:shouldDisableView="false" |
mariagpuyol | a4ef3ba | 2016-03-24 19:10:20 -0700 | [diff] [blame] | 69 | android:summary="@string/unknown_organ_donor" |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 70 | android:title="@string/organ_donor" /> |
| 71 | |
| 72 | <com.android.emergency.preferences.EmergencyEditTextPreference |
| 73 | android:enabled="false" |
mariagpuyol | f233c54 | 2016-03-17 10:52:12 -0700 | [diff] [blame] | 74 | android:focusable="true" |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 75 | android:icon="@drawable/ic_notes_black_24dp" |
| 76 | android:key="medical_conditions" |
| 77 | android:selectable="false" |
| 78 | android:shouldDisableView="false" |
mariagpuyol | a4ef3ba | 2016-03-24 19:10:20 -0700 | [diff] [blame] | 79 | android:summary="@string/unknown_medical_conditions" |
mariagpuyol | 5874835 | 2016-03-09 15:36:28 -0800 | [diff] [blame] | 80 | android:title="@string/medical_conditions" /> |
| 81 | </PreferenceScreen> |