-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactivity_upload.xml
155 lines (139 loc) · 6.09 KB
/
activity_upload.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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
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"
android:background="#8BBCE3"
android:orientation="vertical"
tools:context=".UploadActivity">
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="50dp"
android:layout_marginEnd="20dp"
android:layout_marginStart="20dp"
app:cardCornerRadius="30dp"
app:cardElevation="20dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:clickable="true"
android:layout_marginLeft="20sp"
android:text="SKIP"
android:id="@+id/skipp"
android:textSize="20sp"
android:textColor="#E91E63"
android:textStyle="bold" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_gravity="center_horizontal"
android:padding="20dp">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:text="Profile Setup"
android:textSize="30sp"
android:textStyle="bold"
android:textAlignment="center"
android:textColor="@color/black"/>
<ImageView
android:layout_width="match_parent"
android:layout_height="200dp"
android:src="@drawable/uploadimg"
android:id="@+id/uploadImage"
android:layout_marginTop="10dp"
android:scaleType="fitXY"/>
<EditText
android:layout_width="300dp"
android:layout_height="50dp"
android:layout_marginLeft="15dp"
android:id="@+id/uploadName"
android:background="@drawable/lavender_border"
android:drawableLeft="@drawable/baseline_person_24"
android:drawablePadding="10dp"
android:layout_marginTop="20dp"
android:padding="16dp"
android:hint="Enter your name"
android:gravity="start|center_vertical"
android:textColor="@color/lavender"/>
<EditText
android:layout_width="300dp"
android:layout_height="50dp"
android:layout_marginLeft="15dp"
android:id="@+id/uploadUsername"
android:background="@drawable/lavender_border"
android:drawableLeft="@drawable/baseline_person_outline_24"
android:drawablePadding="10dp"
android:layout_marginTop="20dp"
android:padding="16dp"
android:hint="Set an Username"
android:gravity="start|center_vertical"
android:textColor="@color/lavender"
android:inputType="textEmailAddress"/>
<EditText
android:layout_width="300dp"
android:layout_height="50dp"
android:layout_marginLeft="15dp"
android:id="@+id/uploadPassword"
android:background="@drawable/lavender_border"
android:drawableLeft="@drawable/baseline_lock_24"
android:drawablePadding="10dp"
android:layout_marginTop="20dp"
android:padding="16dp"
android:hint="Set a password"
android:gravity="start|center_vertical"
android:textColor="@color/lavender"
android:inputType="textPassword"/>
<EditText
android:layout_width="300dp"
android:layout_height="50dp"
android:layout_marginLeft="15dp"
android:id="@+id/uploadConfirmPassword"
android:background="@drawable/lavender_border"
android:drawableLeft="@drawable/baseline_lock_24"
android:drawablePadding="10dp"
android:layout_marginTop="20dp"
android:padding="16dp"
android:hint="Confirm password"
android:gravity="start|center_vertical"
android:textColor="@color/lavender"
android:inputType="textPassword"/>
<EditText
android:layout_width="300dp"
android:layout_height="50dp"
android:layout_marginLeft="15dp"
android:id="@+id/uploaddateofbirth"
android:background="@drawable/lavender_border"
android:layout_marginTop="20dp"
android:padding="16dp"
android:hint="Date of birth (ex.:dd-mm-yyyy)"
android:gravity="start|center_vertical"
android:textColor="@color/lavender"/>
<TextView
android:id="@+id/birthdate"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:text="Open Calender"
android:clickable="true"
android:textSize="16sp"
android:textColor="#E91E63"
android:gravity="center"
android:textStyle="bold"/>
<Button
android:layout_width="250dp"
android:layout_height="50dp"
android:layout_marginLeft="35dp"
android:text="Save"
android:id="@+id/saveButton"
android:textSize="18sp"
android:backgroundTint="#0E0D0D"
android:layout_marginTop="20dp" />
</LinearLayout>
</androidx.cardview.widget.CardView>
</ScrollView>