-
Notifications
You must be signed in to change notification settings - Fork 0
/
activity_create_page.xml
118 lines (101 loc) · 4.53 KB
/
activity_create_page.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="fire.auth.com.raddi_new.CreatePage">
<ImageView
android:id="@+id/create_logo"
android:layout_width="180dp"
android:layout_height="180dp"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_gravity="center_horizontal"
android:layout_marginTop="37dp"
android:foregroundGravity="center_vertical"
android:src="@drawable/logo_main" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/create_logo"
android:layout_marginTop="10dp"
android:layout_centerVertical="true"
android:gravity="center_horizontal"
android:orientation="vertical">
<android.support.design.widget.TextInputLayout
android:id="@+id/name_tv"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxLines="1">
<android.support.design.widget.TextInputEditText
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="10dp"
android:hint="Name"
android:maxLines="1"
android:textColor="#000" />
</android.support.design.widget.TextInputLayout>
<android.support.design.widget.TextInputLayout
android:id="@+id/email_tv"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxLines="1">
<android.support.design.widget.TextInputEditText
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="10sp"
android:layout_marginLeft="10sp"
android:layout_marginRight="10sp"
android:hint="Email"
android:textColor="#000" />
</android.support.design.widget.TextInputLayout>
<android.support.design.widget.TextInputLayout
android:id="@+id/password_tv"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxLines="1"
app:layout_constraintBottom_toTopOf="@+id/create_page_btn">
<android.support.design.widget.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10sp"
android:layout_marginLeft="10sp"
android:layout_marginRight="10sp"
android:hint="Password"
android:inputType="textPassword"
android:textColor="#000" />
</android.support.design.widget.TextInputLayout>
<CheckBox
android:id="@+id/createCheckBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="i accept all terms and conditions "/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentStart="true"
android:gravity="center"
android:orientation="vertical">
<Button
android:id="@+id/create_page_btn"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:backgroundTint="@color/colorPrimary"
android:textColor="#fff"
android:text="Create an Account" />
<Button
android:id="@+id/login_btn"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="5dp"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:textColor="#fff"
android:backgroundTint="@color/colorPrimary"
android:text="Already Login" />
</LinearLayout>
</RelativeLayout>