1<?xml version="1.0" encoding="utf-8"?><!-- 2 ~ Copyright (C) 2024 The Android Open Source Project 3 ~ 4 ~ Licensed under the Apache License, Version 2.0 (the "License"); 5 ~ you may not use this file except in compliance with the License. 6 ~ You may obtain a copy of the License at 7 ~ 8 ~ http://www.apache.org/licenses/LICENSE-2.0 9 ~ 10 ~ Unless required by applicable law or agreed to in writing, software 11 ~ distributed under the License is distributed on an "AS IS" BASIS, 12 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 ~ See the License for the specific language governing permissions and 14 ~ limitations under the License. 15 --> 16 17<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="match_parent" 19 android:layout_height="match_parent" 20 android:orientation="vertical"> 21 22 <LinearLayout 23 android:layout_width="match_parent" 24 android:layout_height="wrap_content" 25 android:gravity="center" 26 android:orientation="vertical" 27 android:layout_marginTop="8dp"> 28 29 <Button 30 android:id="@+id/phr_request_read_and_write_medical_data_button" 31 android:layout_width="wrap_content" 32 android:layout_height="wrap_content" 33 android:layout_marginTop="38dp" 34 android:minWidth="250dp" 35 android:text="@string/phr_options_request_medical" /> 36 37 <TextView 38 android:layout_width="match_parent" 39 android:layout_height="wrap_content" 40 android:gravity="center" 41 android:layout_marginTop="38dp" 42 android:textSize="20sp" 43 android:textStyle="bold" 44 android:text="@string/phr_options_ingest_title" /> 45 46 <Button 47 android:id="@+id/phr_create_data_source_button" 48 android:layout_width="wrap_content" 49 android:layout_height="wrap_content" 50 android:layout_marginTop="18dp" 51 android:minWidth="250dp" 52 android:text="@string/phr_options_create_data_source" /> 53 54 <EditText 55 android:id="@+id/phr_data_source_id_text" 56 android:layout_width="wrap_content" 57 android:layout_height="wrap_content" 58 android:layout_marginTop="8dp" 59 android:gravity="center" 60 android:text="@string/phr_options_data_source_id_placeholder" 61 android:visibility="gone" 62 android:textSize="12sp" /> 63 64 <Spinner 65 android:id="@+id/phr_spinner" 66 android:layout_marginTop="18dp" 67 android:minWidth="250dp" 68 android:layout_width="wrap_content" 69 android:layout_height="wrap_content" /> 70 71 <Button 72 android:id="@+id/phr_seed_fhir_jsons_button" 73 android:layout_width="wrap_content" 74 android:layout_height="wrap_content" 75 android:layout_marginTop="18dp" 76 android:minWidth="250dp" 77 android:text="@string/phr_options_seed_fhir_jsons" /> 78 79 <Button 80 android:id="@+id/phr_insert_immunization_button" 81 android:layout_width="wrap_content" 82 android:layout_height="wrap_content" 83 android:layout_marginTop="18dp" 84 android:minWidth="250dp" 85 android:text="@string/phr_options_insert_immunization" /> 86 87 <Button 88 android:id="@+id/phr_insert_allergy_button" 89 android:layout_width="wrap_content" 90 android:layout_height="wrap_content" 91 android:layout_marginTop="18dp" 92 android:minWidth="250dp" 93 android:text="@string/phr_options_insert_allergy" /> 94 95 <TextView 96 android:layout_width="match_parent" 97 android:layout_height="wrap_content" 98 android:gravity="center" 99 android:text="@string/phr_options_read_immunization" 100 android:layout_marginTop="50dp" 101 android:textSize="20sp" 102 android:textStyle="bold" /> 103 104 <Button 105 android:id="@+id/phr_read_by_id_button" 106 android:layout_width="wrap_content" 107 android:layout_height="wrap_content" 108 android:layout_marginTop="18dp" 109 android:minWidth="250dp" 110 android:text="@string/phr_options_read_by_id" /> 111 112 </LinearLayout> 113</ScrollView> 114