• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    <com.android.emergency.preferences.EmergencyEditTextPreference
19        android:enabled="false"
20        android:focusable="true"
21        android:icon="@drawable/ic_home_24dp"
22        android:key="address"
23        android:selectable="false"
24        android:shouldDisableView="false"
25        android:summary="@string/unknown_address"
26        android:title="@string/address" />
27
28    <com.android.emergency.preferences.EmergencyListPreference
29        android:enabled="false"
30        android:focusable="true"
31        android:icon="@drawable/ic_bloodtype_24dp"
32        android:entries="@array/blood_type_entries"
33        android:entryValues="@array/blood_type_values"
34        android:key="blood_type"
35        android:selectable="false"
36        android:shouldDisableView="false"
37        android:summary="@string/unknown_organ_donor"
38        android:title="@string/blood_type"
39        app:entryContentDescriptions="@array/blood_type_content_description" />
40
41    <com.android.emergency.preferences.EmergencyEditTextPreference
42        android:enabled="false"
43        android:focusable="true"
44        android:icon="@drawable/ic_allergies_black_24dp"
45        android:key="allergies"
46        android:selectable="false"
47        android:shouldDisableView="false"
48        android:summary="@string/unknown_allergies"
49        android:title="@string/allergies" />
50
51    <com.android.emergency.preferences.EmergencyEditTextPreference
52        android:enabled="false"
53        android:focusable="true"
54        android:icon="@drawable/ic_medication_24dp"
55        android:key="medications"
56        android:selectable="false"
57        android:shouldDisableView="false"
58        android:summary="@string/unknown_medications"
59        android:title="@string/medications" />
60
61    <com.android.emergency.preferences.EmergencyListPreference
62        android:enabled="false"
63        android:focusable="true"
64        android:icon="@drawable/ic_favorite_border_24dp"
65        android:entries="@array/organ_donor_entries"
66        android:entryValues="@array/organ_donor_values"
67        android:key="organ_donor"
68        android:selectable="false"
69        android:shouldDisableView="false"
70        android:summary="@string/unknown_organ_donor"
71        android:title="@string/organ_donor" />
72
73    <com.android.emergency.preferences.EmergencyEditTextPreference
74        android:enabled="false"
75        android:focusable="true"
76        android:icon="@drawable/ic_note_alt_24dp"
77        android:key="medical_conditions"
78        android:selectable="false"
79        android:shouldDisableView="false"
80        android:summary="@string/unknown_medical_conditions"
81        android:title="@string/medical_conditions" />
82</PreferenceScreen>
83