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