blob: ebbf9c6fa1a25a8439a25187f6844948f4c4db22 [file] [log] [blame]
mariagpuyol58748352016-03-09 15:36:28 -08001<?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 Zhang0326efa2018-05-15 17:37:34 -070015<PreferenceScreen
16 xmlns:android="http://schemas.android.com/apk/res/android"
17 xmlns:app="http://schemas.android.com/apk/res/com.android.emergency">
18
mariagpuyol58748352016-03-09 15:36:28 -080019 <com.android.emergency.preferences.EmergencyEditTextPreference
20 android:enabled="false"
mariagpuyolf233c542016-03-17 10:52:12 -070021 android:focusable="true"
Fan Zhang0326efa2018-05-15 17:37:34 -070022 android:icon="@drawable/ic_home_24dp"
mariagpuyol58748352016-03-09 15:36:28 -080023 android:key="address"
24 android:selectable="false"
25 android:shouldDisableView="false"
mariagpuyola4ef3ba2016-03-24 19:10:20 -070026 android:summary="@string/unknown_address"
mariagpuyol58748352016-03-09 15:36:28 -080027 android:title="@string/address" />
28
mariagpuyol09f34da2016-03-31 12:26:59 -070029 <com.android.emergency.preferences.EmergencyListPreference
mariagpuyol58748352016-03-09 15:36:28 -080030 android:enabled="false"
mariagpuyolf233c542016-03-17 10:52:12 -070031 android:focusable="true"
Fan Zhang0326efa2018-05-15 17:37:34 -070032 android:icon="@drawable/ic_bloodtype_24dp"
mariagpuyol58748352016-03-09 15:36:28 -080033 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"
mariagpuyola4ef3ba2016-03-24 19:10:20 -070038 android:summary="@string/unknown_organ_donor"
mariagpuyol09f34da2016-03-31 12:26:59 -070039 android:title="@string/blood_type"
mariagpuyol19ea9832016-03-31 17:48:32 -070040 app:entryContentDescriptions="@array/blood_type_content_description" />
mariagpuyol58748352016-03-09 15:36:28 -080041
42 <com.android.emergency.preferences.EmergencyEditTextPreference
43 android:enabled="false"
mariagpuyolf233c542016-03-17 10:52:12 -070044 android:focusable="true"
mariagpuyol58748352016-03-09 15:36:28 -080045 android:icon="@drawable/ic_allergies_black_24dp"
46 android:key="allergies"
47 android:selectable="false"
48 android:shouldDisableView="false"
mariagpuyola4ef3ba2016-03-24 19:10:20 -070049 android:summary="@string/unknown_allergies"
mariagpuyol58748352016-03-09 15:36:28 -080050 android:title="@string/allergies" />
51
52 <com.android.emergency.preferences.EmergencyEditTextPreference
53 android:enabled="false"
mariagpuyolf233c542016-03-17 10:52:12 -070054 android:focusable="true"
mariagpuyol58748352016-03-09 15:36:28 -080055 android:icon="@drawable/ic_medication_24dp"
56 android:key="medications"
57 android:selectable="false"
58 android:shouldDisableView="false"
mariagpuyola4ef3ba2016-03-24 19:10:20 -070059 android:summary="@string/unknown_medications"
mariagpuyol58748352016-03-09 15:36:28 -080060 android:title="@string/medications" />
61
62 <com.android.emergency.preferences.EmergencyListPreference
mariagpuyol58748352016-03-09 15:36:28 -080063 android:enabled="false"
mariagpuyolf233c542016-03-17 10:52:12 -070064 android:focusable="true"
Fan Zhang0326efa2018-05-15 17:37:34 -070065 android:icon="@drawable/ic_favorite_border_24dp"
mariagpuyol58748352016-03-09 15:36:28 -080066 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"
mariagpuyola4ef3ba2016-03-24 19:10:20 -070071 android:summary="@string/unknown_organ_donor"
mariagpuyol58748352016-03-09 15:36:28 -080072 android:title="@string/organ_donor" />
73
74 <com.android.emergency.preferences.EmergencyEditTextPreference
75 android:enabled="false"
mariagpuyolf233c542016-03-17 10:52:12 -070076 android:focusable="true"
Fan Zhang0326efa2018-05-15 17:37:34 -070077 android:icon="@drawable/ic_note_alt_24dp"
mariagpuyol58748352016-03-09 15:36:28 -080078 android:key="medical_conditions"
79 android:selectable="false"
80 android:shouldDisableView="false"
mariagpuyola4ef3ba2016-03-24 19:10:20 -070081 android:summary="@string/unknown_medical_conditions"
mariagpuyol58748352016-03-09 15:36:28 -080082 android:title="@string/medical_conditions" />
83</PreferenceScreen>