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