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