| 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"
|
|
|
16 |
android:layout_marginTop="84dp"
|
| 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"
|
|
|
29 |
android:layout_marginTop="100dp"
|
|
|
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"
|
| 3 |
gabriel |
43 |
android:layout_marginStart="16dp"
|
| 2 |
gabriel |
44 |
android:layout_marginTop="32dp"
|
| 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"
|
|
|
56 |
android:layout_width="wrap_content"
|
|
|
57 |
android:layout_height="wrap_content"
|
| 3 |
gabriel |
58 |
android:layout_marginTop="32dp"
|
|
|
59 |
android:fontFamily="@font/roboto"
|
|
|
60 |
android:text="@string/signin_already_have_an_account"
|
| 2 |
gabriel |
61 |
android:textColor="@color/colorTextColor"
|
| 6 |
gabriel |
62 |
android:textSize="18sp"
|
|
|
63 |
app:layout_constraintHorizontal_bias="0.312"
|
| 1 |
gabriel |
64 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
65 |
app:layout_constraintRight_toRightOf="parent"
|
| 3 |
gabriel |
66 |
app:layout_constraintTop_toBottomOf="@+id/textView9" />
|
| 1 |
gabriel |
67 |
|
| 6 |
gabriel |
68 |
<TextView
|
|
|
69 |
android:id="@+id/textView12"
|
|
|
70 |
android:layout_width="wrap_content"
|
|
|
71 |
android:layout_height="wrap_content"
|
|
|
72 |
android:layout_marginTop="16dp"
|
|
|
73 |
android:text="Correo electrónico"
|
|
|
74 |
app:layout_constraintEnd_toEndOf="parent"
|
|
|
75 |
app:layout_constraintHorizontal_bias="0.081"
|
|
|
76 |
app:layout_constraintStart_toStartOf="parent"
|
|
|
77 |
app:layout_constraintTop_toBottomOf="@+id/signin_textview_title" />
|
|
|
78 |
|
| 1 |
gabriel |
79 |
<EditText
|
|
|
80 |
android:id="@+id/signin_edittext_email"
|
| 3 |
gabriel |
81 |
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
82 |
android:layout_width="match_parent"
|
|
|
83 |
android:layout_height="40dp"
|
|
|
84 |
android:layout_marginLeft="15dp"
|
| 6 |
gabriel |
85 |
android:layout_marginTop="16dp"
|
| 3 |
gabriel |
86 |
android:layout_marginRight="15dp"
|
| 6 |
gabriel |
87 |
android:background="@drawable/edit_rounded_style"
|
| 3 |
gabriel |
88 |
android:ems="10"
|
| 2 |
gabriel |
89 |
android:hint="@string/signin_email"
|
| 1 |
gabriel |
90 |
android:inputType="textEmailAddress"
|
| 6 |
gabriel |
91 |
android:paddingStart="10dp"
|
|
|
92 |
android:textAlignment="textStart"
|
| 3 |
gabriel |
93 |
android:textColorHint="@color/colorAccent"
|
|
|
94 |
app:layout_constraintHorizontal_bias="1.0"
|
| 1 |
gabriel |
95 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
96 |
app:layout_constraintRight_toRightOf="parent"
|
| 6 |
gabriel |
97 |
app:layout_constraintTop_toBottomOf="@+id/textView12"
|
| 3 |
gabriel |
98 |
app:layout_constraintWidth_percent="0.8" />
|
| 1 |
gabriel |
99 |
|
|
|
100 |
<EditText
|
|
|
101 |
android:id="@+id/signin_edittext_password"
|
| 3 |
gabriel |
102 |
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
103 |
android:layout_width="match_parent"
|
| 6 |
gabriel |
104 |
android:layout_height="40dp"
|
| 3 |
gabriel |
105 |
android:layout_marginLeft="15dp"
|
| 6 |
gabriel |
106 |
android:layout_marginTop="20dp"
|
| 3 |
gabriel |
107 |
android:layout_marginRight="15dp"
|
| 6 |
gabriel |
108 |
android:background="@drawable/edit_rounded_style"
|
| 3 |
gabriel |
109 |
android:ems="10"
|
| 2 |
gabriel |
110 |
android:hint="@string/signin_password"
|
| 1 |
gabriel |
111 |
android:inputType="textPassword"
|
| 6 |
gabriel |
112 |
android:paddingStart="10dp"
|
| 3 |
gabriel |
113 |
android:textColorHint="@color/colorAccent"
|
| 6 |
gabriel |
114 |
app:layout_constraintHorizontal_bias="1.0"
|
| 1 |
gabriel |
115 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
116 |
app:layout_constraintRight_toRightOf="parent"
|
| 6 |
gabriel |
117 |
app:layout_constraintTop_toBottomOf="@+id/textView13"
|
| 3 |
gabriel |
118 |
app:layout_constraintWidth_percent="0.8" />
|
| 1 |
gabriel |
119 |
|
|
|
120 |
<Button
|
|
|
121 |
android:id="@+id/signin_button_sign_in"
|
| 3 |
gabriel |
122 |
android:layout_width="match_parent"
|
| 6 |
gabriel |
123 |
android:layout_height="40dp"
|
| 3 |
gabriel |
124 |
android:layout_marginLeft="15dp"
|
|
|
125 |
android:layout_marginTop="20dp"
|
|
|
126 |
android:layout_marginRight="15dp"
|
| 6 |
gabriel |
127 |
android:background="@color/colorTextColor"
|
| 2 |
gabriel |
128 |
android:elevation="5dp"
|
| 1 |
gabriel |
129 |
android:fontFamily="sans-serif"
|
| 3 |
gabriel |
130 |
android:text="@string/signin_sign_in"
|
| 6 |
gabriel |
131 |
android:textColor="@color/colorTitleText"
|
| 1 |
gabriel |
132 |
android:textSize="14dp"
|
| 3 |
gabriel |
133 |
app:layout_constraintBottom_toBottomOf="parent"
|
| 6 |
gabriel |
134 |
app:layout_constraintHorizontal_bias="0.0"
|
| 1 |
gabriel |
135 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
136 |
app:layout_constraintRight_toRightOf="parent"
|
|
|
137 |
app:layout_constraintTop_toBottomOf="@id/signin_edittext_password"
|
| 6 |
gabriel |
138 |
app:layout_constraintVertical_bias="0.0"
|
| 1 |
gabriel |
139 |
app:layout_constraintWidth_percent="0.5" />
|
|
|
140 |
|
| 6 |
gabriel |
141 |
<TextView
|
|
|
142 |
android:id="@+id/textView13"
|
|
|
143 |
android:layout_width="wrap_content"
|
|
|
144 |
android:layout_height="wrap_content"
|
|
|
145 |
android:layout_marginTop="20dp"
|
|
|
146 |
android:text="Contraseña"
|
|
|
147 |
app:layout_constraintEnd_toEndOf="parent"
|
|
|
148 |
app:layout_constraintHorizontal_bias="0.07"
|
|
|
149 |
app:layout_constraintStart_toStartOf="parent"
|
|
|
150 |
app:layout_constraintTop_toBottomOf="@+id/signin_edittext_email" />
|
|
|
151 |
|
| 1 |
gabriel |
152 |
<Button
|
|
|
153 |
android:id="@+id/signin_button_sign_up"
|
| 6 |
gabriel |
154 |
android:layout_width="match_parent"
|
|
|
155 |
android:layout_height="40dp"
|
|
|
156 |
android:layout_marginLeft="15dp"
|
| 1 |
gabriel |
157 |
android:layout_marginTop="20dp"
|
| 6 |
gabriel |
158 |
android:layout_marginRight="15dp"
|
|
|
159 |
android:background="@color/buttonGalleryLauncherBackground"
|
| 2 |
gabriel |
160 |
android:elevation="5dp"
|
| 1 |
gabriel |
161 |
android:fontFamily="sans-serif"
|
|
|
162 |
android:padding="5dp"
|
| 3 |
gabriel |
163 |
android:text="@string/signin_sign_up"
|
| 1 |
gabriel |
164 |
android:textSize="14dp"
|
| 6 |
gabriel |
165 |
android:visibility="visible"
|
| 1 |
gabriel |
166 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
167 |
app:layout_constraintRight_toRightOf="parent"
|
|
|
168 |
app:layout_constraintTop_toBottomOf="@id/signin_button_sign_in"
|
|
|
169 |
app:layout_constraintWidth_percent="0.5" />
|
|
|
170 |
|
| 6 |
gabriel |
171 |
<TextView
|
|
|
172 |
android:id="@+id/textView11"
|
|
|
173 |
android:layout_width="wrap_content"
|
|
|
174 |
android:layout_height="wrap_content"
|
|
|
175 |
android:text="@string/signin_forget"
|
|
|
176 |
android:textSize="16sp"
|
|
|
177 |
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
178 |
app:layout_constraintEnd_toEndOf="parent"
|
|
|
179 |
app:layout_constraintStart_toStartOf="parent"
|
|
|
180 |
app:layout_constraintTop_toBottomOf="@+id/signin_button_sign_up" />
|
|
|
181 |
|
| 1 |
gabriel |
182 |
<ProgressBar
|
|
|
183 |
android:id="@+id/signin_progress_bar"
|
|
|
184 |
style="?android:attr/progressBarStyle"
|
|
|
185 |
android:layout_width="wrap_content"
|
|
|
186 |
android:layout_height="wrap_content"
|
|
|
187 |
android:elevation="8dp"
|
|
|
188 |
android:visibility="invisible"
|
|
|
189 |
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
190 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
191 |
app:layout_constraintRight_toRightOf="parent"
|
|
|
192 |
app:layout_constraintTop_toTopOf="parent" />
|
|
|
193 |
|
|
|
194 |
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
195 |
|