1 |
efrain |
1 |
<?xml version="1.0" encoding="utf-8"?>
|
|
|
2 |
<ScrollView 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 |
|
|
|
6 |
android:layout_width="match_parent"
|
|
|
7 |
android:layout_height="match_parent"
|
|
|
8 |
android:background="@color/windowBackgroud"
|
|
|
9 |
android:fillViewport="true"
|
|
|
10 |
android:fitsSystemWindows="true"
|
|
|
11 |
android:padding="20dp"
|
|
|
12 |
tools:context=".fragment.SignupFragment">
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
16 |
android:orientation="vertical"
|
|
|
17 |
android:layout_width="match_parent"
|
|
|
18 |
android:layout_height="match_parent">
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
<ImageView
|
|
|
22 |
android:id="@+id/signup_imageview_logo"
|
|
|
23 |
android:layout_width="0dp"
|
|
|
24 |
android:layout_height="0dp"
|
|
|
25 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
26 |
app:layout_constraintRight_toRightOf="parent"
|
|
|
27 |
app:layout_constraintTop_toTopOf="parent"
|
|
|
28 |
app:layout_constraintWidth_percent="0.4"
|
|
|
29 |
app:layout_constraintHeight_percent="0.3"
|
|
|
30 |
app:srcCompat="@drawable/ic_logo" />
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
<TextView
|
|
|
34 |
style="@style/textview_title1"
|
|
|
35 |
android:id="@+id/signup_textview_title"
|
|
|
36 |
android:layout_width="wrap_content"
|
|
|
37 |
android:layout_height="wrap_content"
|
|
|
38 |
android:layout_marginTop="20dp"
|
|
|
39 |
android:text="@string/signup_title"
|
|
|
40 |
app:layout_constraintTop_toBottomOf="@id/signup_imageview_logo"
|
|
|
41 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
42 |
app:layout_constraintRight_toRightOf="parent"/>
|
|
|
43 |
|
|
|
44 |
<EditText
|
|
|
45 |
style="@style/edittext_intro"
|
|
|
46 |
android:id="@+id/signup_edittext_email"
|
|
|
47 |
android:layout_width="0dp"
|
|
|
48 |
android:layout_height="wrap_content"
|
|
|
49 |
android:layout_marginTop="20dp"
|
|
|
50 |
android:ems="10"
|
|
|
51 |
android:maxLength="250"
|
|
|
52 |
android:inputType="textEmailAddress"
|
|
|
53 |
android:hint="@string/signup_email"
|
|
|
54 |
app:layout_constraintWidth_percent="0.8"
|
|
|
55 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
56 |
app:layout_constraintRight_toRightOf="parent"
|
|
|
57 |
app:layout_constraintTop_toBottomOf="@id/signup_textview_title" />
|
|
|
58 |
|
|
|
59 |
<EditText
|
|
|
60 |
style="@style/edittext_intro"
|
|
|
61 |
android:id="@+id/signup_edittext_first_name"
|
|
|
62 |
android:layout_width="0dp"
|
|
|
63 |
android:layout_height="wrap_content"
|
|
|
64 |
android:layout_marginTop="10dp"
|
|
|
65 |
android:ems="10"
|
|
|
66 |
android:maxLength="64"
|
|
|
67 |
android:inputType="text|textNoSuggestions"
|
|
|
68 |
android:hint="@string/signup_first_name"
|
|
|
69 |
app:layout_constraintWidth_percent="0.8"
|
|
|
70 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
71 |
app:layout_constraintRight_toRightOf="parent"
|
|
|
72 |
app:layout_constraintTop_toBottomOf="@id/signup_edittext_email" />
|
|
|
73 |
|
|
|
74 |
<EditText
|
|
|
75 |
style="@style/edittext_intro"
|
|
|
76 |
android:id="@+id/signup_edittext_last_name"
|
|
|
77 |
android:layout_width="0dp"
|
|
|
78 |
android:layout_height="wrap_content"
|
|
|
79 |
android:layout_marginTop="10dp"
|
|
|
80 |
android:ems="10"
|
|
|
81 |
android:maxLength="64"
|
|
|
82 |
android:inputType="text|textNoSuggestions"
|
|
|
83 |
android:hint="@string/signup_last_name"
|
|
|
84 |
app:layout_constraintWidth_percent="0.8"
|
|
|
85 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
86 |
app:layout_constraintRight_toRightOf="parent"
|
|
|
87 |
app:layout_constraintTop_toBottomOf="@id/signup_edittext_first_name" />
|
|
|
88 |
|
|
|
89 |
<EditText
|
|
|
90 |
style="@style/edittext_intro"
|
|
|
91 |
android:id="@+id/signup_edittext_password"
|
|
|
92 |
android:layout_width="0dp"
|
|
|
93 |
android:layout_height="wrap_content"
|
|
|
94 |
android:layout_marginTop="10dp"
|
|
|
95 |
android:ems="10"
|
|
|
96 |
android:inputType="textPassword"
|
|
|
97 |
android:maxLength="25"
|
|
|
98 |
android:hint="@string/signup_password"
|
|
|
99 |
app:layout_constraintWidth_percent="0.8"
|
|
|
100 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
101 |
app:layout_constraintRight_toRightOf="parent"
|
|
|
102 |
app:layout_constraintTop_toBottomOf="@id/signup_edittext_last_name" />
|
|
|
103 |
|
|
|
104 |
<EditText
|
|
|
105 |
style="@style/edittext_intro"
|
|
|
106 |
android:id="@+id/signup_edittext_confirmation"
|
|
|
107 |
android:layout_width="0dp"
|
|
|
108 |
android:layout_height="wrap_content"
|
|
|
109 |
android:layout_marginTop="10dp"
|
|
|
110 |
android:ems="10"
|
|
|
111 |
android:inputType="textPassword"
|
|
|
112 |
android:maxLength="25"
|
|
|
113 |
android:hint="@string/signup_confirmation"
|
|
|
114 |
app:layout_constraintWidth_percent="0.8"
|
|
|
115 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
116 |
app:layout_constraintRight_toRightOf="parent"
|
|
|
117 |
app:layout_constraintTop_toBottomOf="@id/signup_edittext_password" />
|
|
|
118 |
|
|
|
119 |
|
|
|
120 |
<Button
|
|
|
121 |
style="@style/button_intro"
|
|
|
122 |
android:id="@+id/signup_button_sign_up"
|
|
|
123 |
android:layout_width="0dp"
|
|
|
124 |
android:layout_height="wrap_content"
|
|
|
125 |
android:layout_marginTop="20dp"
|
|
|
126 |
android:text="@string/signup_label_sign_up"
|
|
|
127 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
128 |
app:layout_constraintRight_toRightOf="parent"
|
|
|
129 |
app:layout_constraintTop_toBottomOf="@id/signup_edittext_confirmation"
|
|
|
130 |
app:layout_constraintWidth_percent="0.5" />
|
|
|
131 |
|
|
|
132 |
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
133 |
|
|
|
134 |
</ScrollView>
|