welcome.xml

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