1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2017 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 xmlns:android="http://schemas.android.com/apk/res/android" 25 android:orientation="vertical" 26 android:layout_width="match_parent" 27 android:layout_height="wrap_content"> 28 29 <TextView 30 android:layout_width="match_parent" 31 android:layout_height="wrap_content" 32 android:text="@string/telecom_incoming_call_test_info"/> 33 34 <RelativeLayout 35 android:layout_width="match_parent" 36 android:layout_height="wrap_content" 37 android:layout_marginTop="@dimen/js_padding" 38 android:layout_marginBottom="@dimen/js_padding"> 39 40 <ImageView 41 android:id="@+id/step_1_status" 42 android:layout_width="wrap_content" 43 android:layout_height="wrap_content" 44 android:src="@drawable/fs_indeterminate" 45 android:layout_marginRight="@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/telecom_incoming_call_step_1" 53 android:textSize="16dp" 54 android:layout_alignParentRight="true" 55 android:layout_alignParentTop="true" 56 android:layout_toRightOf="@id/step_1_status" /> 57 <Button 58 android:layout_width="wrap_content" 59 android:layout_height="wrap_content" 60 android:layout_alignParentRight="true" 61 android:layout_below="@id/step_1_instructions" 62 android:layout_marginLeft="20dip" 63 android:layout_marginRight="20dip" 64 android:layout_toRightOf="@id/step_1_status" 65 android:id="@+id/telecom_incoming_call_register_enable_phone_account_button" 66 android:text="@string/telecom_incoming_call_register_enable_phone_account_button"/> 67 <Button 68 android:layout_width="wrap_content" 69 android:layout_height="wrap_content" 70 android:layout_alignParentRight="true" 71 android:layout_below="@id/telecom_incoming_call_register_enable_phone_account_button" 72 android:layout_marginLeft="20dip" 73 android:layout_marginRight="20dip" 74 android:id="@+id/telecom_incoming_call_confirm_register_button" 75 android:text="@string/telecom_incoming_call_confirm_register_button"/> 76 </RelativeLayout> 77 78 <RelativeLayout 79 android:layout_width="match_parent" 80 android:layout_height="wrap_content" 81 android:layout_marginTop="@dimen/js_padding" 82 android:layout_marginBottom="@dimen/js_padding"> 83 84 <ImageView 85 android:id="@+id/step_2_status" 86 android:layout_width="wrap_content" 87 android:layout_height="wrap_content" 88 android:src="@drawable/fs_indeterminate" 89 android:layout_marginRight="@dimen/js_padding" 90 android:layout_alignParentStart="true" 91 android:layout_alignParentTop="true" /> 92 <TextView 93 android:id="@+id/step_2_instructions" 94 android:layout_width="wrap_content" 95 android:layout_height="wrap_content" 96 android:text="@string/telecom_incoming_call_step_2" 97 android:textSize="16dp" 98 android:layout_alignParentRight="true" 99 android:layout_alignParentTop="true" 100 android:layout_toRightOf="@id/step_2_status" /> 101 <Button 102 android:id="@+id/telecom_incoming_call_dial_button" 103 android:layout_width="wrap_content" 104 android:layout_height="wrap_content" 105 android:layout_alignParentRight="true" 106 android:layout_below="@id/step_2_instructions" 107 android:layout_marginLeft="20dip" 108 android:layout_marginRight="20dip" 109 android:layout_toRightOf="@id/step_2_status" 110 android:text="@string/telecom_incoming_call_dial_button"/> 111 </RelativeLayout> 112 113 <RelativeLayout 114 android:layout_width="match_parent" 115 android:layout_height="wrap_content" 116 android:layout_marginTop="@dimen/js_padding" 117 android:layout_marginBottom="@dimen/js_padding"> 118 119 <ImageView 120 android:id="@+id/step_3_status" 121 android:layout_width="wrap_content" 122 android:layout_height="wrap_content" 123 android:src="@drawable/fs_indeterminate" 124 android:layout_marginRight="@dimen/js_padding" 125 android:layout_alignParentStart="true" 126 android:layout_alignParentTop="true" /> 127 <TextView 128 android:id="@+id/step_3_instructions" 129 android:layout_width="wrap_content" 130 android:layout_height="wrap_content" 131 android:text="@string/telecom_incoming_call_step_3" 132 android:textSize="16dp" 133 android:layout_alignParentRight="true" 134 android:layout_alignParentTop="true" 135 android:layout_toRightOf="@id/step_3_status" /> 136 <Button 137 android:id="@+id/telecom_incoming_call_confirm_button" 138 android:layout_width="wrap_content" 139 android:layout_height="wrap_content" 140 android:layout_alignParentRight="true" 141 android:layout_below="@id/step_3_instructions" 142 android:layout_marginLeft="20dip" 143 android:layout_marginRight="20dip" 144 android:layout_toRightOf="@id/step_3_status" 145 android:text="@string/telecom_incoming_call_confirm_button"/> 146 </RelativeLayout> 147 148 <include layout="@layout/pass_fail_buttons" /> 149 </LinearLayout> 150</ScrollView>