Created
April 19, 2023 18:24
-
-
Save RadNotRed/9efc43620a61ddc1bd3e7ffa6637e659 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:padding="16dp"> | |
<!-- android:background="@color/colorPrimary">--> | |
<EditText | |
android:id="@+id/email_input" | |
android:layout_width="0dp" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="24dp" | |
android:hint="@string/email" | |
android:inputType="textEmailAddress" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintTop_toTopOf="parent" | |
android:background="@color/white" /> | |
<EditText | |
android:id="@+id/password_input" | |
android:layout_width="0dp" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="16dp" | |
android:hint="@string/password" | |
android:inputType="textPassword" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintTop_toBottomOf="@id/email_input" | |
android:background="@color/white" /> | |
<Button | |
android:id="@+id/login_button" | |
android:layout_width="0dp" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="24dp" | |
android:text="@string/login_button_text" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintTop_toBottomOf="@id/password_input" /> | |
<TextView | |
android:id="@+id/forgot_password" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="16dp" | |
android:text="@string/forgot_password" | |
android:textColor="@color/colorPrimary" | |
app:layout_constraintBottom_toTopOf="@+id/create_account" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintTop_toBottomOf="@+id/login_button" | |
app:layout_constraintVertical_bias="0.5" /> | |
<TextView | |
android:id="@+id/create_account" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="16dp" | |
android:text="@string/create_account" | |
android:textColor="@color/colorPrimary" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintTop_toBottomOf="@id/forgot_password" /> | |
</androidx.constraintlayout.widget.ConstraintLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment