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_self_mgd_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_self_mgd_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_self_mgd_register_button" 66 android:text="@string/telecom_incoming_self_mgd_register_button"/> 67 </RelativeLayout> 68 69 <RelativeLayout 70 android:layout_width="match_parent" 71 android:layout_height="wrap_content" 72 android:layout_marginTop="@dimen/js_padding" 73 android:layout_marginBottom="@dimen/js_padding"> 74 75 <ImageView 76 android:id="@+id/step_2_status" 77 android:layout_width="wrap_content" 78 android:layout_height="wrap_content" 79 android:src="@drawable/fs_indeterminate" 80 android:layout_marginRight="@dimen/js_padding" 81 android:layout_alignParentStart="true" 82 android:layout_alignParentTop="true" /> 83 <TextView 84 android:id="@+id/step_2_instructions" 85 android:layout_width="wrap_content" 86 android:layout_height="wrap_content" 87 android:text="@string/telecom_incoming_self_mgd_step_2" 88 android:textSize="16dp" 89 android:layout_alignParentRight="true" 90 android:layout_alignParentTop="true" 91 android:layout_toRightOf="@id/step_2_status" /> 92 <Button 93 android:layout_width="wrap_content" 94 android:layout_height="wrap_content" 95 android:layout_alignParentRight="true" 96 android:layout_below="@id/step_2_instructions" 97 android:layout_marginLeft="20dip" 98 android:layout_marginRight="20dip" 99 android:layout_toRightOf="@id/step_2_status" 100 android:id="@+id/telecom_incoming_self_mgd_verify_call_button" 101 android:text="@string/telecom_incoming_self_mgd_verify_call_button"/> 102 </RelativeLayout> 103 104 <RelativeLayout 105 android:layout_width="match_parent" 106 android:layout_height="wrap_content" 107 android:layout_marginTop="@dimen/js_padding" 108 android:layout_marginBottom="@dimen/js_padding"> 109 110 <ImageView 111 android:id="@+id/step_3_status" 112 android:layout_width="wrap_content" 113 android:layout_height="wrap_content" 114 android:src="@drawable/fs_indeterminate" 115 android:layout_marginRight="@dimen/js_padding" 116 android:layout_alignParentStart="true" 117 android:layout_alignParentTop="true" /> 118 <TextView 119 android:id="@+id/step_3_instructions" 120 android:layout_width="wrap_content" 121 android:layout_height="wrap_content" 122 android:text="@string/telecom_incoming_self_mgd_step_3" 123 android:textSize="16dp" 124 android:layout_alignParentRight="true" 125 android:layout_alignParentTop="true" 126 android:layout_toRightOf="@id/step_3_status" /> 127 <Button 128 android:layout_width="wrap_content" 129 android:layout_height="wrap_content" 130 android:layout_alignParentRight="true" 131 android:layout_below="@id/step_3_instructions" 132 android:layout_marginLeft="20dip" 133 android:layout_marginRight="20dip" 134 android:layout_toRightOf="@id/step_3_status" 135 android:id="@+id/telecom_incoming_self_mgd_place_call_button" 136 android:text="@string/telecom_incoming_self_mgd_place_call_button"/> 137 </RelativeLayout> 138 139 <include layout="@layout/pass_fail_buttons" /> 140 </LinearLayout> 141</ScrollView>