1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <androidx .constraintlayout.widget.ConstraintLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3
+ xmlns : app =" http://schemas.android.com/apk/res-auto"
4
+ xmlns : tools =" http://schemas.android.com/tools"
5
+ android : layout_width =" match_parent"
6
+ android : layout_height =" match_parent"
7
+ tools : context =" .RegistrationActivity" >
8
+
9
+ <EditText
10
+ android : id =" @+id/etName"
11
+ android : layout_width =" 0dp"
12
+ android : layout_height =" wrap_content"
13
+ android : layout_marginHorizontal =" 16dp"
14
+ android : autofillHints =" name"
15
+ android : hint =" @string/hint_enter_name"
16
+ android : inputType =" textEmailAddress"
17
+ app : layout_constraintBottom_toTopOf =" @id/etEmail"
18
+ app : layout_constraintEnd_toEndOf =" parent"
19
+ app : layout_constraintStart_toStartOf =" parent"
20
+ app : layout_constraintTop_toTopOf =" parent"
21
+ app : layout_constraintVertical_chainStyle =" packed" />
22
+
23
+ <EditText
24
+ android : id =" @+id/etEmail"
25
+ android : layout_width =" 0dp"
26
+ android : layout_height =" wrap_content"
27
+ android : layout_marginTop =" 8dp"
28
+ android : autofillHints =" emailAddress"
29
+ android : hint =" @string/hint_enter_email"
30
+ android : inputType =" textEmailAddress"
31
+ app : layout_constraintBottom_toTopOf =" @id/etPassword"
32
+ app : layout_constraintEnd_toEndOf =" @id/etName"
33
+ app : layout_constraintStart_toStartOf =" @id/etName"
34
+ app : layout_constraintTop_toBottomOf =" @id/etName" />
35
+
36
+ <EditText
37
+ android : id =" @+id/etPassword"
38
+ android : layout_width =" 0dp"
39
+ android : layout_height =" wrap_content"
40
+ android : layout_marginTop =" 8dp"
41
+ android : autofillHints =" password"
42
+ android : hint =" @string/hint_enter_password"
43
+ android : inputType =" textPassword"
44
+ app : layout_constraintBottom_toTopOf =" @id/btnRegistration"
45
+ app : layout_constraintEnd_toEndOf =" @+id/etEmail"
46
+ app : layout_constraintStart_toStartOf =" @+id/etEmail"
47
+ app : layout_constraintTop_toBottomOf =" @+id/etEmail" />
48
+
49
+ <Button
50
+ android : id =" @+id/btnRegistration"
51
+ android : layout_width =" wrap_content"
52
+ android : layout_height =" wrap_content"
53
+ android : layout_marginTop =" 8dp"
54
+ android : text =" @string/action_registration"
55
+ app : layout_constraintBottom_toBottomOf =" parent"
56
+ app : layout_constraintEnd_toEndOf =" @+id/etPassword"
57
+ app : layout_constraintStart_toStartOf =" @+id/etPassword"
58
+ app : layout_constraintTop_toBottomOf =" @+id/etPassword" />
59
+
60
+ </androidx .constraintlayout.widget.ConstraintLayout>
0 commit comments