-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactivity_verification.xml
95 lines (86 loc) · 3.46 KB
/
activity_verification.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
<?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"
android:background="@drawable/background"
tools:context=".Verification">
<TextView
android:id="@+id/textView5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/send_code"
android:layout_centerHorizontal="true"
android:layout_marginBottom="10dp"
android:gravity="center"
android:text="Please enter the code below."
android:textColor="@color/colorTransparentWhite"
android:textSize="16sp" />
<TextView
android:id="@+id/activity_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/textView2"
android:layout_centerHorizontal="true"
android:layout_marginBottom="25dp"
android:gravity="center"
android:text="Verification"
android:textAllCaps="false"
android:textColor="@color/colorWhite"
android:textSize="30sp" />
<Button
android:id="@+id/verify_button"
android:layout_width="150dp"
android:layout_height="40dp"
android:layout_below="@+id/code_error"
android:layout_centerHorizontal="true"
android:background="@drawable/rounded_rectangle_orange"
android:text="@string/next_btn"
android:textColor="#fff"
android:textSize="16sp" />
<TextView
android:id="@+id/textView2"
android:layout_width="230dp"
android:layout_height="50dp"
android:layout_above="@+id/user_phone"
android:layout_centerHorizontal="true"
android:text="We have sent a message with a verification code to"
android:gravity="center"
android:textColor="@color/colorTransparentWhite"
android:textSize="16sp" />
<EditText
android:id="@+id/send_code"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/code_error"
android:layout_centerHorizontal="true"
android:ems="4"
android:gravity="center"
android:hint="Code"
android:inputType="numberDecimal"
android:textColor="@color/colorWhite"
android:textColorHint="@color/colorTransparentWhite"
android:textColorLink="@color/colorOrange"
/>
<TextView
android:id="@+id/code_error"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:layout_marginBottom="15dp"
android:text="Invalid verification code"
android:textColor="@color/colorOrange"
android:textSize="14sp"
android:visibility="invisible" />
<TextView
android:id="@+id/user_phone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/textView5"
android:layout_centerHorizontal="true"
android:paddingBottom="10dp"
android:paddingTop="5dp"
android:textColor="@color/colorWhite"
android:textSize="18sp" />
</RelativeLayout>