-
Notifications
You must be signed in to change notification settings - Fork 0
/
activity_registration.xml
91 lines (80 loc) · 3.44 KB
/
activity_registration.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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
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"
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:gravity="center"
android:background="@drawable/login2"
tools:context=".RegistrationActivity">
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="30dp"
app:cardCornerRadius="30dp"
app:cardElevation="20dp"
android:background="@drawable/custom_edittext">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_gravity="center_horizontal"
android:padding="24dp">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Registration"
android:id="@+id/loginText"
android:textSize="36sp"
android:textAlignment="center"
android:textStyle="bold"
android:textColor="@color/pure_green"/>
<EditText
android:layout_width="match_parent"
android:layout_height="50dp"
android:id="@+id/receiverNo"
android:background="@drawable/custom_edittext"
android:drawableLeft="@drawable/baseline_person_24"
android:drawablePadding="8dp"
android:hint="Device Number"
android:padding="8dp"
android:textColor="@color/black"
android:textColorHighlight="@color/cardview_dark_background"
android:layout_marginTop="40dp"/>
<EditText
android:layout_width="match_parent"
android:layout_height="50dp"
android:id="@+id/senderNo"
android:background="@drawable/custom_edittext"
android:drawableLeft="@drawable/baseline_person_24"
android:drawablePadding="8dp"
android:hint="User Number"
android:padding="8dp"
android:textColor="@color/black"
android:textColorHighlight="@color/cardview_dark_background"
android:layout_marginTop="20dp"/>
<Button
android:layout_width="match_parent"
android:layout_height="60dp"
android:id="@+id/loginButton"
android:text="Register"
android:textSize="18sp"
android:layout_marginTop="30dp"
android:backgroundTint="@color/pure_green"
app:cornerRadius = "20dp"/>
</LinearLayout>
</androidx.cardview.widget.CardView>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="8dp"
android:text="Not yet registered? SignUp Now"
android:textSize="14sp"
android:textAlignment="center"
android:id="@+id/signupText"
android:textColor="@color/pure_green"
android:layout_marginBottom="20dp"/>
</LinearLayout>