-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactivity_confirm_otp.xml
168 lines (157 loc) · 6.35 KB
/
activity_confirm_otp.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
156
157
158
159
160
161
162
163
164
165
166
167
168
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout 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=".MainActivity">
<ImageView
android:id="@+id/imageView"
android:layout_width="238dp"
android:layout_height="215dp"
android:layout_marginStart="90dp"
android:layout_marginTop="96dp"
android:layout_marginEnd="90dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/password_" />
<Button
android:id="@+id/Submit_OTP_btn"
style="?android:attr/borderlessButtonStyle"
android:layout_width="300dp"
android:layout_height="48dp"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp"
android:layout_marginEnd="20dp"
android:layout_marginBottom="80dp"
android:background="@drawable/my_button"
android:fadingEdge="horizontal"
android:text="confirm"
android:textAllCaps="true"
android:textColor="#FFFFFF"
android:textSize="20sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/Login_email" />
<EditText
android:id="@+id/N2_OTP"
android:layout_width="74dp"
android:layout_height="85dp"
android:layout_marginStart="5dp"
android:layout_marginTop="28dp"
android:layout_marginEnd="5dp"
android:layout_marginBottom="20dp"
android:background="@drawable/my_edit_text"
android:ems="10"
android:gravity="center"
android:hint="n2"
android:inputType="number"
android:padding="5dip"
android:textColor="#446b6d"
android:textColorHint="#00FFFFFF"
android:textSize="40sp"
app:layout_constraintBottom_toTopOf="@+id/Submit_pass_btn"
app:layout_constraintEnd_toStartOf="@+id/N3_OTP"
app:layout_constraintStart_toEndOf="@+id/N1_OTP"
app:layout_constraintTop_toBottomOf="@+id/textView2"
tools:ignore="MissingConstraints" />
<TextView
android:id="@+id/textView2"
android:layout_width="372dp"
android:layout_height="48dp"
android:layout_marginStart="10dp"
android:layout_marginTop="20dp"
android:layout_marginEnd="10dp"
android:text="A 4-digit code has been sent to your e-mail. Please enter it."
android:textColor="#446b6d"
android:textSize="16sp"
android:textStyle="bold"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/Login_Titlee" />
<EditText
android:id="@+id/N3_OTP"
android:layout_width="74dp"
android:layout_height="85dp"
android:layout_marginStart="5dp"
android:layout_marginTop="28dp"
android:layout_marginEnd="5dp"
android:layout_marginBottom="20dp"
android:background="@drawable/my_edit_text"
android:ems="10"
android:gravity="center"
android:hint="n3"
android:inputType="number"
android:padding="5dip"
android:textColor="#446b6d"
android:textColorHint="#00FFFFFF"
android:textSize="40sp"
app:layout_constraintBottom_toTopOf="@+id/Submit_pass_btn"
app:layout_constraintEnd_toStartOf="@+id/N4_OTP"
app:layout_constraintStart_toEndOf="@+id/N2_OTP"
app:layout_constraintTop_toBottomOf="@+id/textView2"
tools:ignore="MissingConstraints" />
<EditText
android:id="@+id/N1_OTP"
android:layout_width="74dp"
android:layout_height="85dp"
android:layout_marginStart="5dp"
android:layout_marginTop="28dp"
android:layout_marginEnd="5dp"
android:layout_marginBottom="20dp"
android:background="@drawable/my_edit_text"
android:ems="10"
android:gravity="center"
android:hint="n1"
android:includeFontPadding="false"
android:inputType="number"
android:padding="5dip"
android:textColor="#446b6d"
android:textColorHint="#00FFFFFF"
android:textSize="40sp"
app:layout_constraintBottom_toTopOf="@+id/Submit_pass_btn"
app:layout_constraintEnd_toStartOf="@+id/N2_OTP"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView2"
tools:ignore="MissingConstraints" />
<EditText
android:id="@+id/N4_OTP"
android:layout_width="74dp"
android:layout_height="85dp"
android:layout_marginStart="5dp"
android:layout_marginTop="28dp"
android:layout_marginEnd="5dp"
android:layout_marginBottom="20dp"
android:background="@drawable/my_edit_text"
android:ems="10"
android:gravity="center"
android:hint="n4"
android:inputType="number"
android:padding="5dip"
android:textColor="#446b6d"
android:textColorHint="#00FFFFFF"
android:textSize="40sp"
app:layout_constraintBottom_toTopOf="@+id/Submit_pass_btn"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/N3_OTP"
app:layout_constraintTop_toBottomOf="@+id/textView2"
tools:ignore="MissingConstraints" />
<TextView
android:id="@+id/Login_Titlee"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="80dp"
android:layout_marginTop="28dp"
android:layout_marginEnd="304dp"
android:layout_marginBottom="17dp"
android:text="Enter OTP"
android:textColor="@color/Teal"
android:textSize="34sp"
android:textStyle="bold"
app:layout_constraintBottom_toTopOf="@+id/textView2"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/imageView" />
</android.support.constraint.ConstraintLayout>