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