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 xmlns:app="http://schemas.android.com/apk/res-auto" 19 android:layout_width="match_parent" 20 android:layout_height="match_parent" 21 android:orientation="vertical"> 22 23 <LinearLayout 24 android:layout_width="match_parent" 25 android:layout_height="wrap_content" 26 android:gravity="center" 27 android:orientation="vertical" 28 android:layout_marginTop="8dp" 29 android:importantForAutofill="no"> 30 31 <Button 32 android:id="@+id/phr_request_read_and_write_medical_data_button" 33 android:layout_width="wrap_content" 34 android:layout_height="wrap_content" 35 android:layout_marginTop="38dp" 36 android:minWidth="300dp" 37 android:text="@string/phr_options_request_medical" /> 38 39 <TextView 40 android:layout_width="match_parent" 41 android:layout_height="wrap_content" 42 android:gravity="center" 43 android:text="@string/phr_options_read_immunization" 44 android:layout_marginTop="50dp" 45 android:textSize="20sp" 46 android:textStyle="bold" /> 47 48 <Button 49 android:id="@+id/phr_read_by_id_button" 50 android:layout_width="wrap_content" 51 android:layout_height="wrap_content" 52 android:layout_marginTop="18dp" 53 android:minWidth="300dp" 54 android:text="@string/phr_options_read_by_id" /> 55 56 <TextView 57 android:layout_width="match_parent" 58 android:layout_height="wrap_content" 59 android:gravity="center" 60 android:layout_marginTop="50dp" 61 android:textSize="20sp" 62 android:textStyle="bold" 63 android:text="@string/phr_options_select_patient_title" /> 64 65 <Spinner 66 android:id="@+id/phr_patient_spinner" 67 android:layout_marginTop="18dp" 68 android:minWidth="300dp" 69 android:layout_width="wrap_content" 70 android:layout_height="wrap_content" /> 71 72 <TextView 73 android:id="@+id/phr_options_custom_path" 74 android:layout_width="match_parent" 75 android:layout_height="wrap_content" 76 android:gravity="center" 77 android:layout_marginTop="18dp" 78 android:visibility="gone" 79 android:textSize="12sp" /> 80 81 <TextView 82 android:layout_width="match_parent" 83 android:layout_height="wrap_content" 84 android:gravity="center" 85 android:layout_marginTop="50dp" 86 android:textSize="20sp" 87 android:textStyle="bold" 88 android:text="@string/phr_options_select_data_source_title" /> 89 90 <Spinner 91 android:id="@+id/phr_data_source_spinner" 92 android:layout_marginTop="18dp" 93 android:minWidth="300dp" 94 android:layout_width="wrap_content" 95 android:layout_height="wrap_content" /> 96 97 <EditText 98 android:id="@+id/phr_data_source_display_name_text" 99 android:layout_width="wrap_content" 100 android:layout_height="wrap_content" 101 android:layout_marginTop="18dp" 102 android:layout_marginLeft="18dp" 103 android:layout_marginRight="18dp" 104 android:minWidth="300dp" 105 android:gravity="start" 106 android:inputType="text" 107 android:hint="@string/phr_options_data_source_name_placeholder" 108 android:textSize="12sp" /> 109 110 <Button 111 android:id="@+id/phr_create_data_source_button" 112 android:layout_width="wrap_content" 113 android:layout_height="wrap_content" 114 android:layout_marginTop="18dp" 115 android:minWidth="300dp" 116 android:text="@string/phr_options_create_data_source" /> 117 118 <TextView 119 android:layout_width="match_parent" 120 android:layout_height="wrap_content" 121 android:gravity="center" 122 android:layout_marginTop="50dp" 123 android:textSize="20sp" 124 android:textStyle="bold" 125 android:text="@string/phr_options_ingest_title" /> 126 127 <Button 128 android:id="@+id/phr_seed_fhir_jsons_button" 129 android:layout_width="wrap_content" 130 android:layout_height="wrap_content" 131 android:layout_marginTop="18dp" 132 android:minWidth="300dp" 133 android:text="@string/phr_options_seed_fhir_jsons" /> 134 135 <Spinner 136 android:id="@+id/phr_spinner" 137 android:layout_marginTop="18dp" 138 android:minWidth="300dp" 139 android:layout_width="wrap_content" 140 android:layout_height="wrap_content" /> 141 142 <Button 143 android:id="@+id/phr_insert_resource_button" 144 android:layout_width="wrap_content" 145 android:layout_height="wrap_content" 146 android:layout_marginTop="18dp" 147 android:minWidth="300dp" 148 android:text="@string/phr_options_insert_resource" /> 149 150 <EditText 151 android:id="@+id/phr_pasted_resource_text" 152 android:layout_width="wrap_content" 153 android:layout_height="wrap_content" 154 android:layout_marginTop="18dp" 155 android:layout_marginLeft="18dp" 156 android:layout_marginRight="18dp" 157 android:minWidth="300dp" 158 android:gravity="left" 159 android:hint="@string/phr_options_pasted_resource_placeholder" 160 android:textSize="12sp" /> 161 162 <TextView 163 android:layout_width="match_parent" 164 android:layout_height="wrap_content" 165 android:gravity="center" 166 android:layout_marginTop="50dp" 167 android:textSize="20sp" 168 android:textStyle="bold" 169 android:text="@string/phr_options_bulk_ingest_title" /> 170 171 <EditText 172 android:id="@+id/phr_number_of_inserts_id_text" 173 android:layout_width="wrap_content" 174 android:layout_height="wrap_content" 175 android:layout_marginTop="18dp" 176 android:minWidth="40dp" 177 android:gravity="center" 178 android:inputType="numberSigned" 179 android:text="10000" 180 android:textSize="16sp" /> 181 182 <ProgressBar 183 android:id="@+id/progressBar" 184 style="@android:style/Widget.ProgressBar.Horizontal" 185 android:layout_width="wrap_content" 186 android:layout_height="wrap_content" 187 android:minWidth="300dp" 188 android:layout_marginTop="18dp" 189 android:visibility="gone" 190 android:progress="0"/> 191 192 <Button 193 android:id="@+id/phr_seed_x_fhir_jsons_button" 194 android:layout_width="wrap_content" 195 android:layout_height="wrap_content" 196 android:layout_marginTop="18dp" 197 android:layout_marginBottom="18dp" 198 android:minWidth="300dp" 199 android:text="@string/phr_options_seed_x_fhir_jsons" /> 200 201 </LinearLayout> 202</ScrollView> 203