1<?xml version="1.0" encoding="utf-8"?>
2<layout xmlns:android="http://schemas.android.com/apk/res/android"
3 xmlns:app="http://schemas.android.com/apk/res-auto">
4
5 <LinearLayout
6 android:layout_width="match_parent"
7 android:layout_height="match_parent"
8 android:orientation="vertical">
9
10 <com.google.android.material.appbar.AppBarLayout
11 android:layout_width="match_parent"
12 android:layout_height="wrap_content">
13
14 <com.google.android.material.appbar.MaterialToolbar
15 android:id="@+id/toolbar"
16 android:layout_width="match_parent"
17 android:layout_height="wrap_content"
18 android:minHeight="?attr/actionBarSize" />
19 </com.google.android.material.appbar.AppBarLayout>
20
21 <androidx.coordinatorlayout.widget.CoordinatorLayout
22 android:id="@+id/coordinator"
23 android:layout_width="match_parent"
24 android:layout_height="match_parent">
25
26 <ScrollView
27 android:layout_width="match_parent"
28 android:layout_height="match_parent"
29 android:fillViewport="true">
30
31 <RelativeLayout
32 android:layout_width="match_parent"
33 android:layout_height="wrap_content">
34
35 <TextView
36 android:id="@+id/instructions"
37 android:layout_width="wrap_content"
38 android:layout_height="wrap_content"
39 android:layout_margin="16dp"
40 android:gravity="center_horizontal"
41 android:text="@string/enter_country_code_and_phone_number"
42 android:textAppearance="?textAppearanceBodyMedium" />
43
44 <LinearLayout
45 android:id="@+id/phone_number_box"
46 android:layout_width="256dp"
47 android:layout_height="wrap_content"
48 android:layout_above="@+id/next"
49 android:layout_below="@+id/instructions"
50 android:layout_centerHorizontal="true"
51 android:orientation="vertical">
52
53 <EditText
54 android:id="@+id/country"
55 android:layout_width="match_parent"
56 android:layout_height="wrap_content"
57 android:cursorVisible="false"
58 android:drawableEnd="@drawable/ic_arrow_drop_down_18dp"
59 android:focusable="false"
60 android:gravity="bottom|center_horizontal"
61 android:imeOptions="flagNoExtractUi"
62 android:inputType="textNoSuggestions"
63 android:longClickable="false"
64 app:drawableTint="?android:attr/textColorPrimary" />
65
66 <LinearLayout
67 android:layout_width="match_parent"
68 android:layout_height="wrap_content"
69 android:orientation="horizontal">
70
71 <EditText
72 android:id="@+id/country_code"
73 android:layout_width="0dp"
74 android:layout_height="wrap_content"
75 android:layout_weight="1"
76 android:gravity="bottom|center_horizontal"
77 android:imeOptions="flagNoExtractUi"
78 android:inputType="number"
79 android:longClickable="false"
80 android:maxLength="3"
81 android:maxLines="1" />
82
83 <EditText
84 android:id="@+id/number"
85 android:layout_width="0dp"
86 android:layout_height="wrap_content"
87 android:layout_weight="3"
88 android:gravity="bottom|start"
89 android:hint="@string/phone_number"
90 android:imeOptions="flagNoExtractUi"
91 android:inputType="number"
92 android:longClickable="false"
93 android:maxLines="1" />
94 </LinearLayout>
95
96 <ProgressBar
97 android:id="@+id/progressBar"
98 style="?android:attr/progressBarStyle"
99 android:layout_width="wrap_content"
100 android:layout_height="wrap_content"
101 android:layout_gravity="center" />
102 </LinearLayout>
103
104 <Button
105 android:id="@+id/next"
106 style="@style/Widget.Material3.Button.ElevatedButton"
107 android:layout_width="wrap_content"
108 android:layout_height="wrap_content"
109 android:layout_alignParentEnd="true"
110 android:layout_alignParentBottom="true"
111 android:layout_margin="16dp"
112 android:text="@string/next" />
113 </RelativeLayout>
114 </ScrollView>
115 </androidx.coordinatorlayout.widget.CoordinatorLayout>
116 </LinearLayout>
117</layout>