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
10 android:id="@+id/toolbar"
11 layout="@layout/toolbar" />
12
13 <ScrollView
14 android:layout_width="match_parent"
15 android:layout_height="match_parent"
16 android:fillViewport="true">
17
18 <RelativeLayout
19 android:layout_width="match_parent"
20 android:layout_height="wrap_content"
21 android:background="?attr/color_background_primary">
22
23 <LinearLayout
24 android:id="@+id/linearLayout"
25 android:layout_width="match_parent"
26 android:layout_height="wrap_content"
27 android:layout_alignParentStart="true"
28 android:layout_alignParentLeft="true"
29 android:layout_alignParentBottom="true"
30 android:minHeight="256dp"
31 android:orientation="vertical"
32 android:paddingLeft="16dp"
33 android:paddingRight="16dp"
34 android:paddingBottom="10dp">
35
36 <Space
37 android:layout_width="match_parent"
38 android:layout_height="0dp"
39 android:layout_weight="1" />
40
41 <TextView
42 android:layout_width="wrap_content"
43 android:layout_height="wrap_content"
44 android:text="@string/welcome_header"
45 android:textAppearance="@style/TextAppearance.Conversations.Title" />
46
47 <TextView
48 android:layout_width="wrap_content"
49 android:layout_height="wrap_content"
50 android:layout_marginTop="8dp"
51 android:text="@string/do_you_have_an_account"
52 android:textAppearance="@style/TextAppearance.Conversations.Body1" />
53
54 <Button
55 android:id="@+id/register_new_account"
56 style="@style/Widget.Conversations.Button.Borderless"
57 android:layout_width="wrap_content"
58 android:layout_height="wrap_content"
59 android:layout_gravity="right"
60 android:text="@string/create_new_account"
61 android:textColor="?colorAccent" />
62
63 <Button
64 android:id="@+id/use_existing"
65 style="@style/Widget.Conversations.Button.Borderless"
66 android:layout_width="wrap_content"
67 android:layout_height="wrap_content"
68 android:layout_gravity="right"
69 android:text="@string/i_already_have_an_account"
70 android:textColor="?android:textColorSecondary" />
71 </LinearLayout>
72
73 <RelativeLayout
74 android:layout_width="match_parent"
75 android:layout_height="match_parent"
76 android:layout_above="@+id/linearLayout"
77 android:layout_alignParentStart="true"
78 android:layout_alignParentLeft="true">
79
80 <ImageView
81 android:layout_width="wrap_content"
82 android:layout_height="wrap_content"
83 android:layout_centerHorizontal="true"
84 android:layout_centerVertical="true"
85 android:padding="8dp"
86 android:src="@drawable/main_logo" />
87 </RelativeLayout>
88 </RelativeLayout>
89 </ScrollView>
90 </LinearLayout>
91</layout>