<?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" tools:context=".LoginActivity"> <EditText android:id="@+id/passWord" android:layout_width="wrap_content" android:layout_height="wrap_content" android:ems="10" android:inputType="textPassword" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.497" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.418" /> <Button android:id="@+id/login" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Login" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.91" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.635" /> <TextView android:id="@+id/passWordText" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Password" app:layout_constraintBottom_toBottomOf="@+id/passWord" app:layout_constraintEnd_toStartOf="@+id/passWord" app:layout_constraintHorizontal_bias="0.674" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="@+id/passWord" app:layout_constraintVertical_bias="0.0" /> <EditText android:id="@+id/name" android:layout_width="199dp" android:layout_height="58dp" android:ems="10" android:inputType="textPersonName" app:layout_constraintBottom_toTopOf="@+id/passWord" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.62" /> <TextView android:id="@+id/nametext" android:layout_width="47dp" android:layout_height="23dp" android:text="name" app:layout_constraintBottom_toBottomOf="@+id/name" app:layout_constraintEnd_toStartOf="@+id/name" app:layout_constraintHorizontal_bias="0.44" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="@+id/name" app:layout_constraintVertical_bias="0.0" /> </androidx.constraintlayout.widget.ConstraintLayout>