1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2022 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License. 16 --> 17 18<ScrollView 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 android:fitsSystemWindows="true" 21 android:layout_width="match_parent" 22 android:layout_height="wrap_content"> 23 <LinearLayout 24 android:orientation="vertical" 25 android:layout_width="match_parent" 26 android:layout_height="wrap_content"> 27 28 <TextView 29 android:layout_width="match_parent" 30 android:layout_height="wrap_content" 31 android:text="@string/telecom_audio_call_test_info"/> 32 33 <RelativeLayout 34 android:layout_width="match_parent" 35 android:layout_height="wrap_content" 36 android:layout_marginTop="@dimen/js_padding" 37 android:layout_marginBottom="@dimen/js_padding"> 38 39 <ImageView 40 android:id="@+id/step_1_status" 41 android:layout_width="wrap_content" 42 android:layout_height="wrap_content" 43 android:contentDescription="@string/telecom_status_image_description" 44 android:src="@drawable/fs_indeterminate" 45 android:layout_marginEnd="@dimen/js_padding" 46 android:layout_alignParentStart="true" 47 android:layout_alignParentTop="true"/> 48 <TextView 49 android:id="@+id/step_1_instructions" 50 android:layout_width="wrap_content" 51 android:layout_height="wrap_content" 52 android:text="@string/tel_as1_instructions" 53 android:textSize="16sp" 54 android:layout_alignParentEnd="true" 55 android:layout_alignParentTop="true" 56 android:layout_toEndOf="@id/step_1_status"/> 57 58 <LinearLayout 59 android:orientation="horizontal" 60 android:layout_below="@id/step_1_instructions" 61 android:layout_toEndOf="@id/step_1_status" 62 android:layout_width="match_parent" 63 android:layout_height="wrap_content"> 64 65 <Button 66 android:layout_width="wrap_content" 67 android:layout_height="wrap_content" 68 android:layout_marginStart="20dip" 69 android:layout_marginEnd="20dip" 70 android:id="@+id/telecom_set_default_button" 71 android:text="@string/tel_set_default_outgoing_account_text"/> 72 <Button 73 android:layout_width="wrap_content" 74 android:layout_height="wrap_content" 75 android:layout_marginStart="20dip" 76 android:layout_marginEnd="20dip" 77 android:id="@+id/telecom_verify_start_state_button" 78 android:text="@string/tel_verify_start_state"/> 79 </LinearLayout> 80 </RelativeLayout> 81 82 83 <RelativeLayout 84 android:layout_width="match_parent" 85 android:layout_height="wrap_content" 86 android:layout_marginTop="@dimen/js_padding" 87 android:layout_marginBottom="@dimen/js_padding"> 88 89 <ImageView 90 android:id="@+id/step_2_status" 91 android:layout_width="wrap_content" 92 android:layout_height="wrap_content" 93 android:contentDescription="@string/telecom_status_image_description" 94 android:src="@drawable/fs_indeterminate" 95 android:layout_marginEnd="@dimen/js_padding" 96 android:layout_alignParentStart="true" 97 android:layout_alignParentTop="true"/> 98 <TextView 99 android:id="@+id/step_2_instructions" 100 android:layout_width="wrap_content" 101 android:layout_height="wrap_content" 102 android:text="@string/tel_as2_instructions" 103 android:textSize="16sp" 104 android:layout_alignParentEnd="true" 105 android:layout_alignParentTop="true" 106 android:layout_toEndOf="@id/step_2_status"/> 107 <Button 108 android:id="@+id/telecom_incoming_call_dial_button" 109 android:layout_width="wrap_content" 110 android:layout_height="wrap_content" 111 android:layout_alignParentEnd="true" 112 android:layout_below="@id/step_2_instructions" 113 android:layout_marginStart="20dip" 114 android:layout_marginEnd="20dip" 115 android:layout_toEndOf="@id/step_2_status" 116 android:text="@string/tel_start_self_managed_call_text"/> 117 </RelativeLayout> 118 119 120 <RelativeLayout 121 android:layout_width="match_parent" 122 android:layout_height="wrap_content" 123 android:layout_marginTop="@dimen/js_padding" 124 android:layout_marginBottom="@dimen/js_padding"> 125 126 <ImageView 127 android:id="@+id/step_3_status" 128 android:layout_width="wrap_content" 129 android:layout_height="wrap_content" 130 android:contentDescription="@string/telecom_status_image_description" 131 android:src="@drawable/fs_indeterminate" 132 android:layout_marginEnd="@dimen/js_padding" 133 android:layout_alignParentStart="true" 134 android:layout_alignParentTop="true"/> 135 <TextView 136 android:id="@+id/step_3_instructions" 137 android:layout_width="wrap_content" 138 android:layout_height="wrap_content" 139 android:text="@string/tel_as3_instructions" 140 android:textSize="16sp" 141 android:layout_alignParentEnd="true" 142 android:layout_alignParentTop="true" 143 android:layout_toEndOf="@id/step_3_status"/> 144 <Button 145 android:id="@+id/telecom_incoming_call_confirm_button" 146 android:layout_width="wrap_content" 147 android:layout_height="wrap_content" 148 android:layout_alignParentEnd="true" 149 android:layout_below="@id/step_3_instructions" 150 android:layout_marginStart="20dip" 151 android:layout_marginEnd="20dip" 152 android:layout_toEndOf="@id/step_3_status" 153 android:text="@string/tel_verify_self_managed_audio_text" 154 /> 155 </RelativeLayout> 156 157 158 <RelativeLayout 159 android:layout_width="match_parent" 160 android:layout_height="wrap_content" 161 android:layout_marginTop="@dimen/js_padding" 162 android:layout_marginBottom="@dimen/js_padding"> 163 164 <ImageView 165 android:id="@+id/step_4_status" 166 android:layout_width="wrap_content" 167 android:layout_height="wrap_content" 168 android:contentDescription="@string/telecom_status_image_description" 169 android:src="@drawable/fs_indeterminate" 170 android:layout_marginEnd="@dimen/js_padding" 171 android:layout_alignParentStart="true" 172 android:layout_alignParentTop="true"/> 173 <TextView 174 android:id="@+id/step_4_instructions" 175 android:layout_width="wrap_content" 176 android:layout_height="wrap_content" 177 android:text="@string/tel_as4_instructions" 178 android:textSize="16sp" 179 android:layout_alignParentEnd="true" 180 android:layout_alignParentTop="true" 181 android:layout_toEndOf="@id/step_4_status"/> 182 183 <LinearLayout 184 android:orientation="horizontal" 185 android:layout_below="@id/step_4_instructions" 186 android:layout_toEndOf="@id/step_4_status" 187 android:layout_width="match_parent" 188 android:layout_height="wrap_content"> 189 190 <EditText 191 android:id="@+id/dial_out_number" 192 android:inputType="number" 193 android:autofillHints="@string/tel_enter_phone_number_autofill_hints_text" 194 android:hint="@string/tel_enter_phone_number_text" 195 android:layout_width="wrap_content" 196 android:layout_height="wrap_content"/> 197 <Button 198 android:id="@+id/telecom_place_sim_call" 199 android:layout_width="wrap_content" 200 android:layout_height="wrap_content" 201 android:layout_marginStart="20dip" 202 android:layout_marginEnd="20dip" 203 android:text="@string/tel_dial_sim_call_text"/> 204 </LinearLayout> 205 206 </RelativeLayout> 207 208 209 <RelativeLayout 210 android:layout_width="match_parent" 211 android:layout_height="wrap_content" 212 android:layout_marginTop="@dimen/js_padding" 213 android:layout_marginBottom="@dimen/js_padding"> 214 215 <ImageView 216 android:id="@+id/step_5_status" 217 android:layout_width="wrap_content" 218 android:layout_height="wrap_content" 219 android:contentDescription="@string/telecom_status_image_description" 220 android:src="@drawable/fs_indeterminate" 221 android:layout_marginEnd="@dimen/js_padding" 222 android:layout_alignParentStart="true" 223 android:layout_alignParentTop="true"/> 224 <TextView 225 android:id="@+id/step_5_instructions" 226 android:layout_width="wrap_content" 227 android:layout_height="wrap_content" 228 android:text="@string/tel_as5_instructions" 229 android:textSize="16sp" 230 android:layout_alignParentEnd="true" 231 android:layout_alignParentTop="true" 232 android:layout_toEndOf="@id/step_5_status"/> 233 <Button 234 android:id="@+id/telecom_place_sim_call_confirm" 235 android:layout_width="wrap_content" 236 android:layout_height="wrap_content" 237 android:layout_alignParentEnd="true" 238 android:layout_below="@id/step_5_instructions" 239 android:layout_marginStart="20dip" 240 android:layout_marginEnd="20dip" 241 android:layout_toEndOf="@id/step_5_status" 242 android:text="@string/tel_verify_sim_audio_text"/> 243 </RelativeLayout> 244 245 246 <RelativeLayout 247 android:layout_width="match_parent" 248 android:layout_height="wrap_content" 249 android:layout_marginTop="@dimen/js_padding" 250 android:layout_marginBottom="@dimen/js_padding"> 251 252 <ImageView 253 android:id="@+id/step_6_status" 254 android:layout_width="wrap_content" 255 android:layout_height="wrap_content" 256 android:contentDescription="@string/telecom_status_image_description" 257 android:src="@drawable/fs_indeterminate" 258 android:layout_marginEnd="@dimen/js_padding" 259 android:layout_alignParentStart="true" 260 android:layout_alignParentTop="true"/> 261 <TextView 262 android:id="@+id/step_6_instructions" 263 android:layout_width="wrap_content" 264 android:layout_height="wrap_content" 265 android:text="@string/tel_as6_instructions" 266 android:textSize="16sp" 267 android:layout_alignParentEnd="true" 268 android:layout_alignParentTop="true" 269 android:layout_toEndOf="@id/step_6_status"/> 270 <Button 271 android:id="@+id/verifySelfManagedAudioAfterSimBasedCallButton" 272 android:layout_width="wrap_content" 273 android:layout_height="wrap_content" 274 android:layout_alignParentEnd="true" 275 android:layout_below="@id/step_6_instructions" 276 android:layout_marginStart="20dip" 277 android:layout_marginEnd="20dip" 278 android:layout_toEndOf="@id/step_6_status" 279 android:text="@string/tel_verify_self_managed_audio_text" 280 /> 281 </RelativeLayout> 282 283 <include layout="@layout/pass_fail_buttons"/> 284 </LinearLayout> 285</ScrollView>