| 1 |
gabriel |
1 |
<?xml version="1.0" encoding="utf-8"?>
|
| 3 |
gabriel |
2 |
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
| 1 |
gabriel |
3 |
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
4 |
xmlns:tools="http://schemas.android.com/tools"
|
| 3 |
gabriel |
5 |
android:layout_width="match_parent"
|
| 1 |
gabriel |
6 |
|
|
|
7 |
android:layout_height="match_parent"
|
|
|
8 |
android:background="@color/windowBackgroud"
|
| 3 |
gabriel |
9 |
android:orientation="vertical"
|
| 1 |
gabriel |
10 |
tools:context=".fragment.SigninFragment">
|
|
|
11 |
|
|
|
12 |
<ImageView
|
|
|
13 |
android:id="@+id/signin_imageview_logo"
|
| 3 |
gabriel |
14 |
android:layout_width="72dp"
|
|
|
15 |
android:layout_height="81dp"
|
| 7 |
gabriel |
16 |
android:layout_marginTop="45dp"
|
| 2 |
gabriel |
17 |
app:layout_constraintHeight_percent="0.3"
|
| 3 |
gabriel |
18 |
app:layout_constraintHorizontal_bias="0.0"
|
| 1 |
gabriel |
19 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
20 |
app:layout_constraintRight_toRightOf="parent"
|
|
|
21 |
app:layout_constraintTop_toTopOf="parent"
|
|
|
22 |
app:layout_constraintWidth_percent="0.4"
|
|
|
23 |
app:srcCompat="@drawable/ic_logo" />
|
|
|
24 |
|
|
|
25 |
<TextView
|
| 3 |
gabriel |
26 |
android:id="@+id/textView10"
|
|
|
27 |
android:layout_width="wrap_content"
|
|
|
28 |
android:layout_height="wrap_content"
|
| 7 |
gabriel |
29 |
android:layout_marginTop="60dp"
|
| 3 |
gabriel |
30 |
android:text="@string/app_name"
|
|
|
31 |
android:textColor="@color/colorTextColor"
|
|
|
32 |
android:textSize="30sp"
|
|
|
33 |
android:textStyle="bold"
|
|
|
34 |
app:layout_constraintEnd_toEndOf="parent"
|
|
|
35 |
app:layout_constraintHorizontal_bias="0.095"
|
|
|
36 |
app:layout_constraintStart_toEndOf="@+id/signin_imageview_logo"
|
|
|
37 |
app:layout_constraintTop_toTopOf="parent" />
|
|
|
38 |
|
|
|
39 |
<TextView
|
| 2 |
gabriel |
40 |
android:id="@+id/textView9"
|
|
|
41 |
android:layout_width="wrap_content"
|
|
|
42 |
android:layout_height="wrap_content"
|
| 7 |
gabriel |
43 |
android:layout_marginStart="12dp"
|
|
|
44 |
android:layout_marginTop="20dp"
|
| 3 |
gabriel |
45 |
android:fontFamily="@font/roboto"
|
|
|
46 |
android:text="@string/signin_hello"
|
|
|
47 |
android:textColor="@color/colorTextColor"
|
| 6 |
gabriel |
48 |
android:textSize="48sp"
|
| 2 |
gabriel |
49 |
android:textStyle="bold"
|
|
|
50 |
app:layout_constraintStart_toStartOf="parent"
|
|
|
51 |
app:layout_constraintTop_toBottomOf="@+id/signin_imageview_logo" />
|
|
|
52 |
|
|
|
53 |
<TextView
|
|
|
54 |
android:id="@+id/signin_textview_title"
|
| 1 |
gabriel |
55 |
style="@style/textview_title1"
|
| 7 |
gabriel |
56 |
android:layout_width="353dp"
|
|
|
57 |
android:layout_height="63dp"
|
| 3 |
gabriel |
58 |
android:layout_marginTop="32dp"
|
|
|
59 |
android:fontFamily="@font/roboto"
|
|
|
60 |
android:text="@string/signin_already_have_an_account"
|
| 7 |
gabriel |
61 |
android:textAlignment="textStart"
|
| 2 |
gabriel |
62 |
android:textColor="@color/colorTextColor"
|
| 7 |
gabriel |
63 |
android:textSize="24sp"
|
|
|
64 |
android:textStyle="bold"
|
| 6 |
gabriel |
65 |
app:layout_constraintHorizontal_bias="0.312"
|
| 1 |
gabriel |
66 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
67 |
app:layout_constraintRight_toRightOf="parent"
|
| 3 |
gabriel |
68 |
app:layout_constraintTop_toBottomOf="@+id/textView9" />
|
| 1 |
gabriel |
69 |
|
| 6 |
gabriel |
70 |
<TextView
|
|
|
71 |
android:id="@+id/textView12"
|
|
|
72 |
android:layout_width="wrap_content"
|
|
|
73 |
android:layout_height="wrap_content"
|
| 7 |
gabriel |
74 |
android:layout_marginTop="24dp"
|
| 6 |
gabriel |
75 |
android:text="Correo electrónico"
|
| 7 |
gabriel |
76 |
android:textColor="@color/colorTextColor"
|
|
|
77 |
android:textSize="18sp"
|
| 6 |
gabriel |
78 |
app:layout_constraintEnd_toEndOf="parent"
|
| 7 |
gabriel |
79 |
app:layout_constraintHorizontal_bias="0.056"
|
| 6 |
gabriel |
80 |
app:layout_constraintStart_toStartOf="parent"
|
|
|
81 |
app:layout_constraintTop_toBottomOf="@+id/signin_textview_title" />
|
|
|
82 |
|
| 1 |
gabriel |
83 |
<EditText
|
|
|
84 |
android:id="@+id/signin_edittext_email"
|
| 3 |
gabriel |
85 |
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
86 |
android:layout_width="match_parent"
|
|
|
87 |
android:layout_height="40dp"
|
|
|
88 |
android:layout_marginLeft="15dp"
|
| 6 |
gabriel |
89 |
android:layout_marginTop="16dp"
|
| 3 |
gabriel |
90 |
android:layout_marginRight="15dp"
|
| 6 |
gabriel |
91 |
android:background="@drawable/edit_rounded_style"
|
| 3 |
gabriel |
92 |
android:ems="10"
|
| 2 |
gabriel |
93 |
android:hint="@string/signin_email"
|
| 1 |
gabriel |
94 |
android:inputType="textEmailAddress"
|
| 6 |
gabriel |
95 |
android:paddingStart="10dp"
|
|
|
96 |
android:textAlignment="textStart"
|
| 3 |
gabriel |
97 |
android:textColorHint="@color/colorAccent"
|
|
|
98 |
app:layout_constraintHorizontal_bias="1.0"
|
| 1 |
gabriel |
99 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
100 |
app:layout_constraintRight_toRightOf="parent"
|
| 6 |
gabriel |
101 |
app:layout_constraintTop_toBottomOf="@+id/textView12"
|
| 3 |
gabriel |
102 |
app:layout_constraintWidth_percent="0.8" />
|
| 1 |
gabriel |
103 |
|
|
|
104 |
<EditText
|
|
|
105 |
android:id="@+id/signin_edittext_password"
|
| 3 |
gabriel |
106 |
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
107 |
android:layout_width="match_parent"
|
| 6 |
gabriel |
108 |
android:layout_height="40dp"
|
| 3 |
gabriel |
109 |
android:layout_marginLeft="15dp"
|
| 6 |
gabriel |
110 |
android:layout_marginTop="20dp"
|
| 3 |
gabriel |
111 |
android:layout_marginRight="15dp"
|
| 6 |
gabriel |
112 |
android:background="@drawable/edit_rounded_style"
|
| 3 |
gabriel |
113 |
android:ems="10"
|
| 2 |
gabriel |
114 |
android:hint="@string/signin_password"
|
| 1 |
gabriel |
115 |
android:inputType="textPassword"
|
| 6 |
gabriel |
116 |
android:paddingStart="10dp"
|
| 3 |
gabriel |
117 |
android:textColorHint="@color/colorAccent"
|
| 6 |
gabriel |
118 |
app:layout_constraintHorizontal_bias="1.0"
|
| 1 |
gabriel |
119 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
120 |
app:layout_constraintRight_toRightOf="parent"
|
| 6 |
gabriel |
121 |
app:layout_constraintTop_toBottomOf="@+id/textView13"
|
| 3 |
gabriel |
122 |
app:layout_constraintWidth_percent="0.8" />
|
| 1 |
gabriel |
123 |
|
|
|
124 |
<Button
|
|
|
125 |
android:id="@+id/signin_button_sign_in"
|
| 3 |
gabriel |
126 |
android:layout_width="match_parent"
|
| 6 |
gabriel |
127 |
android:layout_height="40dp"
|
| 3 |
gabriel |
128 |
android:layout_marginLeft="15dp"
|
|
|
129 |
android:layout_marginTop="20dp"
|
|
|
130 |
android:layout_marginRight="15dp"
|
| 7 |
gabriel |
131 |
android:background="@drawable/rounded_primarynew_style"
|
| 2 |
gabriel |
132 |
android:elevation="5dp"
|
| 1 |
gabriel |
133 |
android:fontFamily="sans-serif"
|
| 3 |
gabriel |
134 |
android:text="@string/signin_sign_in"
|
| 6 |
gabriel |
135 |
android:textColor="@color/colorTitleText"
|
| 1 |
gabriel |
136 |
android:textSize="14dp"
|
| 7 |
gabriel |
137 |
android:textStyle="bold"
|
| 3 |
gabriel |
138 |
app:layout_constraintBottom_toBottomOf="parent"
|
| 6 |
gabriel |
139 |
app:layout_constraintHorizontal_bias="0.0"
|
| 1 |
gabriel |
140 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
141 |
app:layout_constraintRight_toRightOf="parent"
|
|
|
142 |
app:layout_constraintTop_toBottomOf="@id/signin_edittext_password"
|
| 6 |
gabriel |
143 |
app:layout_constraintVertical_bias="0.0"
|
| 1 |
gabriel |
144 |
app:layout_constraintWidth_percent="0.5" />
|
|
|
145 |
|
| 6 |
gabriel |
146 |
<TextView
|
|
|
147 |
android:id="@+id/textView13"
|
|
|
148 |
android:layout_width="wrap_content"
|
|
|
149 |
android:layout_height="wrap_content"
|
|
|
150 |
android:layout_marginTop="20dp"
|
|
|
151 |
android:text="Contraseña"
|
| 7 |
gabriel |
152 |
android:textColor="@color/colorTextColor"
|
|
|
153 |
android:textSize="18dp"
|
| 6 |
gabriel |
154 |
app:layout_constraintEnd_toEndOf="parent"
|
| 7 |
gabriel |
155 |
app:layout_constraintHorizontal_bias="0.047"
|
| 6 |
gabriel |
156 |
app:layout_constraintStart_toStartOf="parent"
|
|
|
157 |
app:layout_constraintTop_toBottomOf="@+id/signin_edittext_email" />
|
|
|
158 |
|
| 1 |
gabriel |
159 |
<Button
|
|
|
160 |
android:id="@+id/signin_button_sign_up"
|
| 6 |
gabriel |
161 |
android:layout_width="match_parent"
|
|
|
162 |
android:layout_height="40dp"
|
|
|
163 |
android:layout_marginLeft="15dp"
|
| 1 |
gabriel |
164 |
android:layout_marginTop="20dp"
|
| 6 |
gabriel |
165 |
android:layout_marginRight="15dp"
|
| 7 |
gabriel |
166 |
android:background="@drawable/edit_rounded_style"
|
| 2 |
gabriel |
167 |
android:elevation="5dp"
|
| 1 |
gabriel |
168 |
android:fontFamily="sans-serif"
|
|
|
169 |
android:padding="5dp"
|
| 3 |
gabriel |
170 |
android:text="@string/signin_sign_up"
|
| 7 |
gabriel |
171 |
android:textColor="@color/colorPrincipalNew"
|
| 1 |
gabriel |
172 |
android:textSize="14dp"
|
| 7 |
gabriel |
173 |
android:textStyle="bold"
|
| 6 |
gabriel |
174 |
android:visibility="visible"
|
| 1 |
gabriel |
175 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
176 |
app:layout_constraintRight_toRightOf="parent"
|
|
|
177 |
app:layout_constraintTop_toBottomOf="@id/signin_button_sign_in"
|
|
|
178 |
app:layout_constraintWidth_percent="0.5" />
|
|
|
179 |
|
| 6 |
gabriel |
180 |
<TextView
|
|
|
181 |
android:id="@+id/textView11"
|
|
|
182 |
android:layout_width="wrap_content"
|
|
|
183 |
android:layout_height="wrap_content"
|
|
|
184 |
android:text="@string/signin_forget"
|
| 7 |
gabriel |
185 |
android:textColor="@color/colorPrincipalNew"
|
|
|
186 |
android:textSize="19dp"
|
|
|
187 |
android:textStyle="bold"
|
| 6 |
gabriel |
188 |
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
189 |
app:layout_constraintEnd_toEndOf="parent"
|
|
|
190 |
app:layout_constraintStart_toStartOf="parent"
|
|
|
191 |
app:layout_constraintTop_toBottomOf="@+id/signin_button_sign_up" />
|
|
|
192 |
|
| 1 |
gabriel |
193 |
<ProgressBar
|
|
|
194 |
android:id="@+id/signin_progress_bar"
|
|
|
195 |
style="?android:attr/progressBarStyle"
|
|
|
196 |
android:layout_width="wrap_content"
|
|
|
197 |
android:layout_height="wrap_content"
|
|
|
198 |
android:elevation="8dp"
|
|
|
199 |
android:visibility="invisible"
|
|
|
200 |
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
201 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
202 |
app:layout_constraintRight_toRightOf="parent"
|
|
|
203 |
app:layout_constraintTop_toTopOf="parent" />
|
|
|
204 |
|
|
|
205 |
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
206 |
|