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
11 <ScrollView
12 android:layout_width="match_parent"
13 android:layout_height="match_parent"
14 android:fillViewport="true">
15
16 <RelativeLayout
17 android:layout_width="match_parent"
18 android:layout_height="wrap_content">
19
20 <TextView
21 android:id="@+id/instructions"
22 android:layout_width="wrap_content"
23 android:layout_height="wrap_content"
24 android:padding="16dp"
25 android:gravity="center_horizontal"
26 android:textAppearance="@style/TextAppearance.Conversations.Body1"
27 android:text="@string/enter_country_code_and_phone_number"/>
28
29 <LinearLayout
30 android:id="@+id/phone_number_box"
31 android:layout_width="256dp"
32 android:layout_height="match_parent"
33 android:layout_above="@+id/next"
34 android:layout_below="@+id/instructions"
35 android:layout_centerHorizontal="true"
36 android:orientation="vertical">
37
38 <EditText
39 android:id="@+id/country"
40 style="@style/Widget.Conversations.EditText"
41 android:layout_width="match_parent"
42 android:layout_height="wrap_content"
43 android:cursorVisible="false"
44 android:drawableRight="@drawable/ic_arrow_drop_down_black_18dp"
45 android:focusable="false"
46 android:gravity="bottom|center_horizontal"
47 android:longClickable="false" />
48
49 <LinearLayout
50 android:layout_width="match_parent"
51 android:layout_height="wrap_content"
52 android:orientation="horizontal">
53
54 <EditText
55 android:id="@+id/country_code"
56 style="@style/Widget.Conversations.EditText"
57 android:layout_width="0dp"
58 android:layout_height="wrap_content"
59 android:layout_weight="1"
60 android:gravity="bottom|center_horizontal"
61 android:inputType="number"
62 android:longClickable="false"
63 android:maxLength="3"
64 android:maxLines="1" />
65
66 <EditText
67 android:id="@+id/number"
68 style="@style/Widget.Conversations.EditText"
69 android:layout_width="0dp"
70 android:layout_height="wrap_content"
71 android:layout_weight="3"
72 android:hint="@string/phone_number"
73 android:inputType="number"
74 android:gravity="bottom|start"
75 android:longClickable="false"
76 android:maxLines="1" />
77 </LinearLayout>
78 </LinearLayout>
79 <Button
80 android:id="@+id/next"
81 android:layout_alignParentBottom="true"
82 android:layout_alignParentEnd="true"
83 style="@style/Widget.Conversations.Button.Borderless"
84 android:layout_width="wrap_content"
85 android:layout_height="wrap_content"
86 android:text="@string/next"
87 android:textColor="?colorAccent"/>
88 </RelativeLayout>
89 </ScrollView>
90 </LinearLayout>
91</layout>