1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<androidx .constraintlayout.widget.ConstraintLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3
+ xmlns : app =" http://schemas.android.com/apk/res-auto"
3
4
android : layout_width =" match_parent"
4
5
android : layout_height =" match_parent"
5
- xmlns : app =" http://schemas.android.com/apk/res-auto" >
6
- <LinearLayout
7
- android : orientation =" vertical"
8
- android : gravity =" center"
6
+ android : background =" @drawable/horizon"
7
+ >
8
+
9
+ <androidx .constraintlayout.widget.Guideline
10
+ android : id =" @+id/guideline"
11
+ android : layout_width =" wrap_content"
12
+ android : orientation =" horizontal"
9
13
android : layout_height =" wrap_content"
14
+ app : layout_constraintGuide_percent =" 0.27" />
15
+
16
+ <LinearLayout
10
17
android : layout_width =" match_parent"
11
- app : layout_constraintBottom_toBottomOf =" parent"
12
- app : layout_constraintTop_toTopOf =" parent"
18
+ android : layout_height =" wrap_content"
19
+ android : layout_marginLeft =" 20dp"
20
+ android : layout_marginRight =" 20dp"
21
+ android : gravity =" center"
22
+ android : orientation =" vertical"
23
+ app : layout_constraintLeft_toLeftOf =" parent"
13
24
app : layout_constraintRight_toRightOf =" parent"
14
- app : layout_constraintLeft_toLeftOf =" parent" >
25
+ app : layout_constraintTop_toBottomOf =" @id/guideline" >
26
+
27
+ <TextView
28
+ android : layout_width =" wrap_content"
29
+ android : layout_height =" wrap_content"
30
+ android : text =" Pathways"
31
+ android : fontFamily =" futura"
32
+ android : textColor =" @color/quantum_white_text"
33
+ android : textSize =" 48sp"
34
+ />
35
+
36
+ <TextView
37
+ android : layout_width =" wrap_content"
38
+ android : layout_height =" wrap_content"
39
+ android : fontFamily =" futura"
40
+ android : textColor =" @color/quantum_white_text"
41
+ android : text =" Discovering New Horizons"
42
+ android : textSize =" 18sp"
43
+ />
15
44
16
45
<EditText
17
46
android : id =" @+id/email"
22
51
android : inputType =" text" />
23
52
24
53
<EditText
54
+ android : id =" @+id/password"
25
55
android : layout_width =" match_parent"
26
56
android : layout_height =" wrap_content"
27
- android : id =" @+id/password"
28
- android : inputType =" textPassword"
29
- android : hint =" Password"
30
57
android : layout_weight =" .1"
31
- />
58
+ android : hint =" Password"
59
+ android : inputType =" textPassword" />
32
60
33
- <Button
34
- android : id =" @+id/submit_button"
35
- android : layout_width =" match_parent"
36
- android : layout_height =" wrap_content"
37
- android : text =" Submit"
38
- android : layout_weight =" .1" />
39
- <Button
40
- android : id =" @+id/register_button"
61
+ <LinearLayout
62
+ android : orientation =" horizontal"
41
63
android : layout_width =" match_parent"
42
- android : layout_height =" wrap_content"
43
- android : text =" Register"
44
- android : layout_weight =" .1" />
64
+ android : layout_height =" wrap_content" >
65
+
66
+ <com .google.android.material.button.MaterialButton
67
+ android : id =" @+id/register_button"
68
+ style =" @style/Widget.MaterialComponents.Button.OutlinedButton"
69
+ android : textColor =" @color/quantum_white_text"
70
+ android : layout_width =" match_parent"
71
+ android : layout_height =" wrap_content"
72
+ android : theme =" @style/Theme.MaterialComponents"
73
+ app : strokeColor =" @color/quantum_white_text"
74
+ app : strokeWidth =" 1dp"
75
+ android : layout_weight =" .1"
76
+ android : text =" Register" />
77
+
78
+ <com .google.android.material.button.MaterialButton
79
+ android : layout_marginLeft =" 5dp"
80
+ android : id =" @+id/submit_button"
81
+ android : textColor =" @color/quantum_white_text"
82
+ style =" @style/Widget.MaterialComponents.Button.OutlinedButton"
83
+ android : layout_width =" match_parent"
84
+ android : layout_height =" wrap_content"
85
+ android : theme =" @style/Theme.MaterialComponents"
86
+ android : layout_weight =" .1"
87
+ app : strokeColor =" @color/quantum_white_text"
88
+ app : strokeWidth =" 1dp"
89
+ android : text =" Submit" />
45
90
91
+ </LinearLayout >
46
92
</LinearLayout >
47
93
</androidx .constraintlayout.widget.ConstraintLayout>
0 commit comments