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