diff options
| author | Alberto Duarte (PWC) <alberto.duarte.delgado@pwc.com> | 2023-06-08 11:39:00 +0100 |
|---|---|---|
| committer | Alberto Duarte (PWC) <alberto.duarte.delgado@pwc.com> | 2023-06-08 11:39:00 +0100 |
| commit | 90b1191a979af126db12b25072abe6fdbfcd323d (patch) | |
| tree | e0241b451cfc43b5bea748e5ee0b911b0dc6e362 /app/src/main/res | |
| parent | 05c62b867ad7b827f228b10d5f3e9547d3d8beec (diff) | |
aded stuff
Diffstat (limited to 'app/src/main/res')
| -rw-r--r-- | app/src/main/res/layout/fragment_login.xml | 2 | ||||
| -rw-r--r-- | app/src/main/res/layout/fragment_signin.xml | 41 | ||||
| -rw-r--r-- | app/src/main/res/values-es/strings.xml | 3 | ||||
| -rw-r--r-- | app/src/main/res/values/strings.xml | 3 |
4 files changed, 40 insertions, 9 deletions
diff --git a/app/src/main/res/layout/fragment_login.xml b/app/src/main/res/layout/fragment_login.xml index ca2d5bc..61f0a8d 100644 --- a/app/src/main/res/layout/fragment_login.xml +++ b/app/src/main/res/layout/fragment_login.xml @@ -59,6 +59,6 @@ app:layout_constraintTop_toBottomOf="@id/forget_password_btn" app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent" - android:text="@string/signin" /> + android:text="@string/signup" /> </androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file diff --git a/app/src/main/res/layout/fragment_signin.xml b/app/src/main/res/layout/fragment_signin.xml index 863e130..f88a274 100644 --- a/app/src/main/res/layout/fragment_signin.xml +++ b/app/src/main/res/layout/fragment_signin.xml @@ -4,14 +4,43 @@ android:layout_height="match_parent" xmlns:app="http://schemas.android.com/apk/res-auto"> - <TextView + + <com.google.android.material.textfield.TextInputLayout + android:id="@+id/email_il" + android:layout_width="match_parent" + android:layout_height="wrap_content" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> + + <com.google.android.material.textfield.TextInputEditText + android:id="@+id/email_iet" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:hint="@string/field_email" /> + + </com.google.android.material.textfield.TextInputLayout> + + <com.google.android.material.textfield.TextInputLayout + android:id="@+id/password_il" + android:layout_width="match_parent" + android:layout_height="wrap_content" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@id/email_il"> + + <com.google.android.material.textfield.TextInputEditText + android:id="@+id/password_iet" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:hint="@string/field_password" /> + + </com.google.android.material.textfield.TextInputLayout> + <Button + android:id="@+id/signup_btn" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="A" - android:textSize="200sp" - app:layout_constraintTop_toTopOf="parent" - app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintTop_toBottomOf="@id/password_il" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintEnd_toEndOf="parent" /> + app:layout_constraintEnd_toEndOf="parent" + android:text="@string/signup" /> </androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 1a2566e..ac08189 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -1,8 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <resources> <string name="field_email">Correo electronico</string> + <string name="field_password">Contrasena</string> <string name="field_signin">Registro</string> <string name="forgot_password">Olvidé la contraseña</string> - <string name="signin">Registrarte</string> + <string name="signup">Registrarte</string> <string name="login">Acceder</string> </resources>
\ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 36859ed..acba2eb 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -2,8 +2,9 @@ <string name="app_name" translatable="false">Proyecto android</string> <string name="field_email">Email</string> + <string name="field_password">Password</string> <string name="field_signin">Sign in</string> <string name="forgot_password">Forget password</string> - <string name="signin">Sign in</string> + <string name="signup">Sign Up</string> <string name="login">Login</string> </resources>
\ No newline at end of file |