-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactivity_sign_in_.xml
124 lines (95 loc) · 4.86 KB
/
activity_sign_in_.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
<?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"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".Sign_in_Activity">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar_sign_in_activity"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize">
<TextView
android:id="@+id/tv_title"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_vertical"
android:text="@string/sign_in"
android:textColor="@color/primary_text_color"
android:textSize="@dimen/toolbar_title_text_size"
android:textStyle="bold" />
</androidx.appcompat.widget.Toolbar>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="@dimen/authentication_screen_content_marginTop"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/authentication_screen_marginStartEnd"
android:layout_marginEnd="@dimen/authentication_screen_marginStartEnd"
android:gravity="center"
android:text="@string/sign_up_description_text"
android:textColor="@color/secondary_text_color"
android:textSize="@dimen/authentication_description_text_size" />
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="50dp"
app:cardCornerRadius="@dimen/card_view_corner_radius"
app:contentPadding="@dimen/card_view_layout_content_padding"
app:cardElevation="@dimen/cardview_default_elevation"
app:cardPreventCornerOverlap="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/authentication_screen_content_marginTop"
android:orientation="vertical">
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Email">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="18sp"
android:inputType="textEmailAddress"
android:textStyle="bold">
</com.google.android.material.textfield.TextInputEditText>
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Password"
android:layout_marginTop="10dp">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textStyle="bold"
android:textSize="18sp"
android:inputType="textPassword">
</com.google.android.material.textfield.TextInputEditText>
</com.google.android.material.textfield.TextInputLayout>
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/btn_marginStartEnd"
android:layout_marginTop="@dimen/sign_up_screen_btn_marginTop"
android:layout_marginEnd="@dimen/btn_marginStartEnd"
android:background="@drawable/shape_button_rounded"
android:foreground="?attr/selectableItemBackground"
android:gravity="center"
android:paddingTop="@dimen/btn_paddingTopBottom"
android:paddingBottom="@dimen/btn_paddingTopBottom"
android:text="@string/sign_up"
android:textColor="@android:color/white"
android:textSize="@dimen/btn_text_size"
android:id="@+id/btn_signin">
</Button>
</LinearLayout>
</androidx.cardview.widget.CardView>
</LinearLayout>
</LinearLayout>