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="wrap_content"
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 <Space
28 android:layout_width="match_parent"
29 android:layout_height="0dp"
30 android:layout_weight="1"/>
31 <LinearLayout
32 android:layout_width="match_parent"
33 android:layout_height="match_parent"
34 android:paddingLeft="16dp"
35 android:paddingRight="16dp"
36 android:paddingBottom="16dp"
37 android:orientation="vertical">
38
39 <TextView
40 android:layout_width="wrap_content"
41 android:layout_height="wrap_content"
42 android:text="@string/welcome_header_quicksy"
43 android:textAppearance="@style/TextAppearance.Conversations.Title"/>
44 <TextView
45 android:id="@+id/welcome_text"
46 android:layout_width="wrap_content"
47 android:layout_height="wrap_content"
48 android:layout_marginTop="8dp"
49 android:text="@string/welcome_text_quicksy"
50 android:textAppearance="@style/TextAppearance.Conversations.Body1"/>
51 </LinearLayout>
52 <Button
53 android:id="@+id/agree"
54 style="@style/Widget.Conversations.Button.Borderless"
55 android:layout_width="wrap_content"
56 android:layout_height="wrap_content"
57 android:layout_gravity="end"
58 android:text="@string/agree_and_continue"
59 android:textColor="?colorAccent"/>
60 </LinearLayout>
61 <RelativeLayout
62 android:layout_width="match_parent"
63 android:layout_height="match_parent"
64 android:layout_above="@+id/linearLayout"
65 android:layout_alignParentLeft="true"
66 android:layout_alignParentStart="true">
67 <ImageView
68 android:layout_width="wrap_content"
69 android:layout_height="wrap_content"
70 android:layout_centerHorizontal="true"
71 android:layout_centerVertical="true"
72 android:padding="8dp"
73 android:src="@drawable/main_logo"/>
74 </RelativeLayout>
75 </RelativeLayout>
76 </ScrollView>
77</LinearLayout>