Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.constraint.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:id="@+id/constraintLayout">
- <ImageView
- android:src="@drawable/logo"
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:id="@+id/logo"
- tools:layout_editor_absoluteX="96dp"
- app:layout_constraintTop_toTopOf="@+id/constraintLayout"
- android:layout_marginTop="16dp"
- app:layout_constraintBottom_toTopOf="@+id/guideline8" />
- <android.support.constraint.Guideline
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/guideline6"
- android:orientation="vertical"
- tools:layout_editor_absoluteX="96dp"
- tools:layout_editor_absoluteY="0dp"
- app:relativePercent="25" />
- <android.support.constraint.Guideline
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/guideline7"
- android:orientation="vertical"
- tools:layout_editor_absoluteX="288dp"
- tools:layout_editor_absoluteY="0dp"
- app:relativePercent="75" />
- <android.support.constraint.Guideline
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/guideline8"
- android:orientation="horizontal"
- tools:layout_editor_absoluteX="0dp"
- tools:layout_editor_absoluteY="141dp"
- app:relativePercent="25" />
- <ImageView
- android:src="@drawable/login"
- android:id="@+id/imageView3"
- android:layout_width="wrap_content"
- android:layout_height="42dp"
- app:layout_constraintLeft_toLeftOf="@+id/constraintLayout"
- android:layout_marginStart="16dp"
- app:layout_constraintTop_toTopOf="@+id/email"
- app:layout_constraintBottom_toBottomOf="@+id/email" />
- <android.support.design.widget.TextInputLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <AutoCompleteTextView
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:singleLine="true"
- android:id="@+id/email"
- android:hint="@string/prompt_email"
- app:layout_constraintLeft_toRightOf="@+id/imageView3"
- android:layout_marginStart="8dp"
- app:layout_constraintTop_toBottomOf="@+id/logo"
- android:layout_marginTop="16dp"
- app:layout_constraintRight_toRightOf="@+id/constraintLayout"
- android:layout_marginEnd="16dp" />
- </android.support.design.widget.TextInputLayout>
- <ImageView
- android:src="@drawable/pass"
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:id="@+id/imageView4"
- app:layout_constraintLeft_toLeftOf="@+id/constraintLayout"
- android:layout_marginStart="16dp"
- app:layout_constraintTop_toTopOf="@+id/password"
- app:layout_constraintBottom_toBottomOf="@+id/password" />
- <android.support.design.widget.TextInputEditText
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:singleLine="true"
- android:id="@+id/password"
- android:hint="@string/prompt_password"
- app:layout_constraintLeft_toRightOf="@+id/imageView4"
- android:layout_marginStart="8dp"
- app:layout_constraintTop_toBottomOf="@+id/email"
- android:layout_marginTop="16dp"
- app:layout_constraintRight_toRightOf="@+id/constraintLayout"
- android:layout_marginEnd="16dp"
- app:layout_constraintHorizontal_bias="0.29" />
- <Button
- android:text="Button"
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:id="@+id/email_sign_in_button"
- app:layout_constraintLeft_toLeftOf="@+id/constraintLayout"
- android:layout_marginStart="16dp"
- app:layout_constraintTop_toBottomOf="@+id/password"
- android:layout_marginTop="16dp"
- app:layout_constraintRight_toRightOf="@+id/constraintLayout"
- android:layout_marginEnd="16dp"
- app:layout_constraintHorizontal_bias="0.15" />
- </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement