Created
January 27, 2021 16:47
-
-
Save nyamwaya/716e74ec2d6b307c0594f84df778849f to your computer and use it in GitHub Desktop.
woo
This file contains hidden or 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:id="@+id/login_root_view" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:background="@color/colorGrey" | |
| tools:context=".ui.views.login.LoginActivity"> | |
| <RelativeLayout | |
| android:id="@+id/loginBackground" | |
| android:layout_width="match_parent" | |
| android:layout_height="0dp" | |
| android:layout_marginBottom="278dp" | |
| android:background="@color/colorPrimary" | |
| android:text="Hello World!" | |
| app:layout_constraintBottom_toTopOf="@+id/createAccountText" | |
| app:layout_constraintHorizontal_bias="0.0" | |
| app:layout_constraintLeft_toLeftOf="parent" | |
| app:layout_constraintRight_toRightOf="parent" | |
| app:layout_constraintTop_toTopOf="parent"> | |
| <TextView | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:layout_below="@+id/loginLogo" | |
| android:layout_alignParentEnd="true" | |
| android:layout_marginTop="-42dp" | |
| android:layout_marginEnd="122.5dp" | |
| android:fontFamily="@font/poppins" | |
| android:text="parrot.md" | |
| android:textColor="@color/colorWhite" | |
| android:textSize="36sp" /> | |
| <androidx.appcompat.widget.AppCompatImageView | |
| android:id="@+id/loginLogo" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:layout_alignParentStart="true" | |
| android:layout_alignParentTop="true" | |
| android:layout_alignParentEnd="true" | |
| android:layout_marginStart="105dp" | |
| android:layout_marginTop="41dp" | |
| android:layout_marginEnd="105dp" | |
| android:background="@drawable/ic_parrot_logo" /> | |
| </RelativeLayout> | |
| <RelativeLayout | |
| android:id="@+id/relativeLayout2" | |
| android:layout_width="350dp" | |
| android:layout_height="280dp" | |
| android:layout_marginBottom="144dp" | |
| android:background="@color/colorWhite" | |
| android:elevation="16dp" | |
| app:layout_constraintBottom_toBottomOf="parent" | |
| app:layout_constraintEnd_toEndOf="parent" | |
| app:layout_constraintHorizontal_bias="0.491" | |
| app:layout_constraintStart_toStartOf="parent"> | |
| <!-- Email Label --> | |
| <com.google.android.material.textfield.TextInputLayout | |
| android:id="@+id/email_text_input" | |
| style="@style/TextInputLayout" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| android:layout_marginStart="24dp" | |
| android:layout_marginTop="34dp" | |
| android:layout_marginEnd="24dp" | |
| android:hint="USERNAME" | |
| app:errorEnabled="true"> | |
| <com.google.android.material.textfield.TextInputEditText | |
| android:id="@+id/email_edit_text" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| android:inputType="textEmailAddress" | |
| android:text=" " /> | |
| </com.google.android.material.textfield.TextInputLayout> | |
| <!-- Password Label --> | |
| <com.google.android.material.textfield.TextInputLayout | |
| android:id="@+id/password_text_input" | |
| style="@style/TextInputLayout" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| android:layout_below="@+id/email_text_input" | |
| android:layout_marginStart="24dp" | |
| android:layout_marginEnd="24dp" | |
| android:hint="PASSWORD" | |
| app:errorEnabled="true"> | |
| <com.google.android.material.textfield.TextInputEditText | |
| android:id="@+id/password" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| android:inputType="textPassword" | |
| android:text=" " | |
| android:textColor="@color/colorWhite" /> | |
| </com.google.android.material.textfield.TextInputLayout> | |
| <RelativeLayout | |
| android:layout_width="match_parent" | |
| android:layout_height="80dp" | |
| android:layout_alignParentBottom="true" | |
| android:background="@color/colorPrimary"> | |
| <ImageView | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:layout_centerVertical="true" | |
| android:layout_marginLeft="24dp" | |
| android:background="@drawable/ic_arrow" /> | |
| <com.google.android.material.button.MaterialButton | |
| android:id="@+id/login_button" | |
| style="@style/Widget.MaterialComponents.Button.TextButton" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:layout_alignParentEnd="true" | |
| android:layout_centerVertical="true" | |
| android:layout_gravity="center" | |
| android:layout_marginEnd="24dp" | |
| android:fontFamily="@font/poppins" | |
| android:text="Get Started" | |
| android:textAllCaps="false" | |
| android:textColor="@color/colorWhite" | |
| android:textSize="16sp" | |
| app:cornerRadius="16dp" /> | |
| </RelativeLayout> | |
| </RelativeLayout> | |
| <androidx.appcompat.widget.AppCompatTextView | |
| android:id="@+id/createAccountText" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:layout_marginBottom="34dp" | |
| android:textColor="@color/colorPrimary" | |
| app:layout_constraintBottom_toBottomOf="parent" | |
| app:layout_constraintEnd_toEndOf="parent" | |
| app:layout_constraintStart_toStartOf="parent" | |
| app:layout_constraintTop_toBottomOf="@+id/loginBackground" /> | |
| </androidx.constraintlayout.widget.ConstraintLayout> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment