• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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: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_enable_phone_account_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:src="@drawable/fs_indeterminate"
43                android:layout_marginRight="@dimen/js_padding"
44                android:layout_alignParentStart="true"
45                android:layout_alignParentTop="true" />
46            <TextView
47                android:id="@+id/step_1_instructions"
48                android:layout_width="wrap_content"
49                android:layout_height="wrap_content"
50                android:text="@string/telecom_enable_phone_account_step_1"
51                android:textSize="16dp"
52                android:layout_alignParentRight="true"
53                android:layout_alignParentTop="true"
54                android:layout_toRightOf="@id/step_1_status" />
55            <Button
56                android:layout_width="wrap_content"
57                android:layout_height="wrap_content"
58                android:layout_alignParentRight="true"
59                android:layout_below="@id/step_1_instructions"
60                android:layout_marginLeft="20dip"
61                android:layout_marginRight="20dip"
62                android:layout_toRightOf="@id/step_1_status"
63                android:id="@+id/telecom_enable_phone_account_register_button"
64                android:text="@string/telecom_enable_phone_account_register_button"/>
65        </RelativeLayout>
66
67        <RelativeLayout
68            android:layout_width="match_parent"
69            android:layout_height="wrap_content"
70            android:layout_marginTop="@dimen/js_padding"
71            android:layout_marginBottom="@dimen/js_padding">
72
73            <ImageView
74                android:id="@+id/step_2_status"
75                android:layout_width="wrap_content"
76                android:layout_height="wrap_content"
77                android:src="@drawable/fs_indeterminate"
78                android:layout_marginRight="@dimen/js_padding"
79                android:layout_alignParentStart="true"
80                android:layout_alignParentTop="true" />
81            <TextView
82                android:id="@+id/step_2_instructions"
83                android:layout_width="wrap_content"
84                android:layout_height="wrap_content"
85                android:text="@string/telecom_enable_phone_account_step_2"
86                android:textSize="16dp"
87                android:layout_alignParentRight="true"
88                android:layout_alignParentTop="true"
89                android:layout_toRightOf="@id/step_2_status" />
90            <Button
91                android:id="@+id/telecom_enable_phone_account_confirm_button"
92                android:layout_width="wrap_content"
93                android:layout_height="wrap_content"
94                android:layout_alignParentRight="true"
95                android:layout_below="@id/step_2_instructions"
96                android:layout_marginLeft="20dip"
97                android:layout_marginRight="20dip"
98                android:layout_toRightOf="@id/step_2_status"
99                android:text="@string/telecom_enable_phone_account_confirm_button"/>
100        </RelativeLayout>
101
102        <include layout="@layout/pass_fail_buttons" />
103    </LinearLayout>
104</ScrollView>