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/pick_your_username"
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/magic_create_text"
39 android:textColor="?attr/color_text_primary"
40 android:textSize="?attr/TextSizeBody"/>
41 <EditText
42 android:id="@+id/username"
43 android:layout_width="match_parent"
44 android:layout_height="wrap_content"
45 android:layout_gravity="center_horizontal"
46 android:hint="@string/username_hint"
47 android:inputType="textNoSuggestions"
48 android:textSize="?attr/TextSizeBody"/>
49 <TextView
50 android:id="@+id/full_jid"
51 android:layout_width="wrap_content"
52 android:layout_height="wrap_content"
53 android:layout_marginTop="8dp"
54 android:text="@string/your_full_jid_will_be"
55 android:textColor="?attr/color_text_secondary"
56 android:textSize="?attr/TextSizeInfo"
57 android:visibility="invisible"/>
58 <Button
59 android:id="@+id/create_account"
60 style="?android:attr/borderlessButtonStyle"
61 android:layout_width="wrap_content"
62 android:layout_height="wrap_content"
63 android:layout_gravity="right"
64 android:text="@string/next"
65 android:textColor="@color/accent"/>
66 </LinearLayout>
67 <RelativeLayout
68 android:layout_width="match_parent"
69 android:layout_height="match_parent"
70 android:layout_above="@+id/linearLayout"
71 android:layout_alignParentLeft="true"
72 android:layout_alignParentStart="true"
73 android:layout_alignParentTop="true">
74 <ImageView
75 android:layout_width="wrap_content"
76 android:layout_height="wrap_content"
77 android:layout_centerHorizontal="true"
78 android:layout_centerVertical="true"
79 android:padding="8dp"
80 android:src="@drawable/main_logo"/>
81 </RelativeLayout>
82 <TextView
83 android:paddingLeft="8dp"
84 android:paddingRight="8dp"
85 android:layout_width="wrap_content"
86 android:layout_height="wrap_content"
87 android:layout_alignParentBottom="true"
88 android:textColor="?attr/color_text_secondary"
89 android:textSize="@dimen/fineprint_size"
90 android:maxLines="1"
91 android:text="@string/free_for_six_month"
92 android:layout_centerHorizontal="true"/>
93 </RelativeLayout>
94</ScrollView>