• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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:layout_width="match_parent"
21    android:layout_height="wrap_content">
22    <LinearLayout
23        android:orientation="vertical"
24        android:layout_width="match_parent"
25        android:layout_height="wrap_content">
26
27        <TextView
28            android:layout_width="match_parent"
29            android:layout_height="wrap_content"
30            android:text="@string/telecom_audio_call_test_info"/>
31
32        <RelativeLayout
33            android:layout_width="match_parent"
34            android:layout_height="wrap_content"
35            android:layout_marginTop="@dimen/js_padding"
36            android:layout_marginBottom="@dimen/js_padding">
37
38            <ImageView
39                android:id="@+id/step_1_status"
40                android:layout_width="wrap_content"
41                android:layout_height="wrap_content"
42                android:contentDescription="@string/telecom_status_image_description"
43                android:src="@drawable/fs_indeterminate"
44                android:layout_marginEnd="@dimen/js_padding"
45                android:layout_alignParentStart="true"
46                android:layout_alignParentTop="true"/>
47            <TextView
48                android:id="@+id/step_1_instructions"
49                android:layout_width="wrap_content"
50                android:layout_height="wrap_content"
51                android:text="@string/tel_as1_instructions"
52                android:textSize="16sp"
53                android:layout_alignParentEnd="true"
54                android:layout_alignParentTop="true"
55                android:layout_toEndOf="@id/step_1_status"/>
56
57            <LinearLayout
58                android:orientation="horizontal"
59                android:layout_below="@id/step_1_instructions"
60                android:layout_toEndOf="@id/step_1_status"
61                android:layout_width="match_parent"
62                android:layout_height="wrap_content">
63
64                <Button
65                    android:layout_width="wrap_content"
66                    android:layout_height="wrap_content"
67                    android:layout_marginStart="20dip"
68                    android:layout_marginEnd="20dip"
69                    android:id="@+id/telecom_set_default_button"
70                    android:text="@string/tel_set_default_outgoing_account_text"/>
71                <Button
72                    android:layout_width="wrap_content"
73                    android:layout_height="wrap_content"
74                    android:layout_marginStart="20dip"
75                    android:layout_marginEnd="20dip"
76                    android:id="@+id/telecom_verify_start_state_button"
77                    android:text="@string/tel_verify_start_state"/>
78            </LinearLayout>
79        </RelativeLayout>
80
81
82        <RelativeLayout
83            android:layout_width="match_parent"
84            android:layout_height="wrap_content"
85            android:layout_marginTop="@dimen/js_padding"
86            android:layout_marginBottom="@dimen/js_padding">
87
88            <ImageView
89                android:id="@+id/step_2_status"
90                android:layout_width="wrap_content"
91                android:layout_height="wrap_content"
92                android:contentDescription="@string/telecom_status_image_description"
93                android:src="@drawable/fs_indeterminate"
94                android:layout_marginEnd="@dimen/js_padding"
95                android:layout_alignParentStart="true"
96                android:layout_alignParentTop="true"/>
97            <TextView
98                android:id="@+id/step_2_instructions"
99                android:layout_width="wrap_content"
100                android:layout_height="wrap_content"
101                android:text="@string/tel_as2_instructions"
102                android:textSize="16sp"
103                android:layout_alignParentEnd="true"
104                android:layout_alignParentTop="true"
105                android:layout_toEndOf="@id/step_2_status"/>
106            <Button
107                android:id="@+id/telecom_incoming_call_dial_button"
108                android:layout_width="wrap_content"
109                android:layout_height="wrap_content"
110                android:layout_alignParentEnd="true"
111                android:layout_below="@id/step_2_instructions"
112                android:layout_marginStart="20dip"
113                android:layout_marginEnd="20dip"
114                android:layout_toEndOf="@id/step_2_status"
115                android:text="@string/tel_start_self_managed_call_text"/>
116        </RelativeLayout>
117
118
119        <RelativeLayout
120            android:layout_width="match_parent"
121            android:layout_height="wrap_content"
122            android:layout_marginTop="@dimen/js_padding"
123            android:layout_marginBottom="@dimen/js_padding">
124
125            <ImageView
126                android:id="@+id/step_3_status"
127                android:layout_width="wrap_content"
128                android:layout_height="wrap_content"
129                android:contentDescription="@string/telecom_status_image_description"
130                android:src="@drawable/fs_indeterminate"
131                android:layout_marginEnd="@dimen/js_padding"
132                android:layout_alignParentStart="true"
133                android:layout_alignParentTop="true"/>
134            <TextView
135                android:id="@+id/step_3_instructions"
136                android:layout_width="wrap_content"
137                android:layout_height="wrap_content"
138                android:text="@string/tel_as3_instructions"
139                android:textSize="16sp"
140                android:layout_alignParentEnd="true"
141                android:layout_alignParentTop="true"
142                android:layout_toEndOf="@id/step_3_status"/>
143            <Button
144                android:id="@+id/telecom_incoming_call_confirm_button"
145                android:layout_width="wrap_content"
146                android:layout_height="wrap_content"
147                android:layout_alignParentEnd="true"
148                android:layout_below="@id/step_3_instructions"
149                android:layout_marginStart="20dip"
150                android:layout_marginEnd="20dip"
151                android:layout_toEndOf="@id/step_3_status"
152                android:text="@string/tel_verify_self_managed_audio_text"
153            />
154        </RelativeLayout>
155
156
157        <RelativeLayout
158            android:layout_width="match_parent"
159            android:layout_height="wrap_content"
160            android:layout_marginTop="@dimen/js_padding"
161            android:layout_marginBottom="@dimen/js_padding">
162
163            <ImageView
164                android:id="@+id/step_4_status"
165                android:layout_width="wrap_content"
166                android:layout_height="wrap_content"
167                android:contentDescription="@string/telecom_status_image_description"
168                android:src="@drawable/fs_indeterminate"
169                android:layout_marginEnd="@dimen/js_padding"
170                android:layout_alignParentStart="true"
171                android:layout_alignParentTop="true"/>
172            <TextView
173                android:id="@+id/step_4_instructions"
174                android:layout_width="wrap_content"
175                android:layout_height="wrap_content"
176                android:text="@string/tel_as4_instructions"
177                android:textSize="16sp"
178                android:layout_alignParentEnd="true"
179                android:layout_alignParentTop="true"
180                android:layout_toEndOf="@id/step_4_status"/>
181
182            <LinearLayout
183                android:orientation="horizontal"
184                android:layout_below="@id/step_4_instructions"
185                android:layout_toEndOf="@id/step_4_status"
186                android:layout_width="match_parent"
187                android:layout_height="wrap_content">
188
189                <EditText
190                    android:id="@+id/dial_out_number"
191                    android:inputType="number"
192                    android:autofillHints="@string/tel_enter_phone_number_autofill_hints_text"
193                    android:hint="@string/tel_enter_phone_number_text"
194                    android:layout_width="wrap_content"
195                    android:layout_height="wrap_content"/>
196                <Button
197                    android:id="@+id/telecom_place_sim_call"
198                    android:layout_width="wrap_content"
199                    android:layout_height="wrap_content"
200                    android:layout_marginStart="20dip"
201                    android:layout_marginEnd="20dip"
202                    android:text="@string/tel_dial_sim_call_text"/>
203            </LinearLayout>
204
205        </RelativeLayout>
206
207
208        <RelativeLayout
209            android:layout_width="match_parent"
210            android:layout_height="wrap_content"
211            android:layout_marginTop="@dimen/js_padding"
212            android:layout_marginBottom="@dimen/js_padding">
213
214            <ImageView
215                android:id="@+id/step_5_status"
216                android:layout_width="wrap_content"
217                android:layout_height="wrap_content"
218                android:contentDescription="@string/telecom_status_image_description"
219                android:src="@drawable/fs_indeterminate"
220                android:layout_marginEnd="@dimen/js_padding"
221                android:layout_alignParentStart="true"
222                android:layout_alignParentTop="true"/>
223            <TextView
224                android:id="@+id/step_5_instructions"
225                android:layout_width="wrap_content"
226                android:layout_height="wrap_content"
227                android:text="@string/tel_as5_instructions"
228                android:textSize="16sp"
229                android:layout_alignParentEnd="true"
230                android:layout_alignParentTop="true"
231                android:layout_toEndOf="@id/step_5_status"/>
232            <Button
233                android:id="@+id/telecom_place_sim_call_confirm"
234                android:layout_width="wrap_content"
235                android:layout_height="wrap_content"
236                android:layout_alignParentEnd="true"
237                android:layout_below="@id/step_5_instructions"
238                android:layout_marginStart="20dip"
239                android:layout_marginEnd="20dip"
240                android:layout_toEndOf="@id/step_5_status"
241                android:text="@string/tel_verify_sim_audio_text"/>
242        </RelativeLayout>
243
244
245        <RelativeLayout
246            android:layout_width="match_parent"
247            android:layout_height="wrap_content"
248            android:layout_marginTop="@dimen/js_padding"
249            android:layout_marginBottom="@dimen/js_padding">
250
251            <ImageView
252                android:id="@+id/step_6_status"
253                android:layout_width="wrap_content"
254                android:layout_height="wrap_content"
255                android:contentDescription="@string/telecom_status_image_description"
256                android:src="@drawable/fs_indeterminate"
257                android:layout_marginEnd="@dimen/js_padding"
258                android:layout_alignParentStart="true"
259                android:layout_alignParentTop="true"/>
260            <TextView
261                android:id="@+id/step_6_instructions"
262                android:layout_width="wrap_content"
263                android:layout_height="wrap_content"
264                android:text="@string/tel_as6_instructions"
265                android:textSize="16sp"
266                android:layout_alignParentEnd="true"
267                android:layout_alignParentTop="true"
268                android:layout_toEndOf="@id/step_6_status"/>
269            <Button
270                android:id="@+id/verifySelfManagedAudioAfterSimBasedCallButton"
271                android:layout_width="wrap_content"
272                android:layout_height="wrap_content"
273                android:layout_alignParentEnd="true"
274                android:layout_below="@id/step_6_instructions"
275                android:layout_marginStart="20dip"
276                android:layout_marginEnd="20dip"
277                android:layout_toEndOf="@id/step_6_status"
278                android:text="@string/tel_verify_self_managed_audio_text"
279            />
280        </RelativeLayout>
281
282        <include layout="@layout/pass_fail_buttons"/>
283    </LinearLayout>
284</ScrollView>