Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.     xmlns:app="http://schemas.android.com/apk/res-auto"
  4.     xmlns:tools="http://schemas.android.com/tools"
  5.     android:layout_width="match_parent"
  6.     android:layout_height="match_parent"
  7.     android:background="@drawable/bgminuman"
  8.     tools:context=".LoginActivity">
  9.  
  10.  
  11.     <TextView
  12.         android:layout_width="wrap_content"
  13.         android:layout_height="wrap_content"
  14.         android:text="Selamat Datang"
  15.         android:textColor="@android:color/black"
  16.         android:textSize="30dp"
  17.         android:textStyle="bold"
  18.         app:layout_constraintBottom_toBottomOf="parent"
  19.         app:layout_constraintLeft_toLeftOf="parent"
  20.         app:layout_constraintRight_toRightOf="parent"
  21.         app:layout_constraintTop_toTopOf="parent"
  22.         app:layout_constraintVertical_bias="0.205" />
  23.  
  24.  
  25.     <EditText
  26.         android:id="@+id/edtText_username"
  27.         android:layout_width="202dp"
  28.         android:layout_height="wrap_content"
  29.         android:hint="username"
  30.         app:layout_constraintBottom_toBottomOf="parent"
  31.         app:layout_constraintHorizontal_bias="0.583"
  32.         app:layout_constraintLeft_toLeftOf="parent"
  33.         app:layout_constraintRight_toRightOf="parent"
  34.         app:layout_constraintTop_toTopOf="parent"
  35.         app:layout_constraintVertical_bias="0.355" />
  36.  
  37.  
  38.     <EditText
  39.         android:id="@+id/edtText_password"
  40.         android:layout_width="202dp"
  41.         android:layout_height="wrap_content"
  42.         android:hint="password"
  43.         android:inputType="textPassword"
  44.         app:layout_constraintBottom_toBottomOf="parent"
  45.         app:layout_constraintHorizontal_bias="0.583"
  46.         app:layout_constraintLeft_toLeftOf="parent"
  47.         app:layout_constraintRight_toRightOf="parent"
  48.         app:layout_constraintTop_toTopOf="parent"
  49.         app:layout_constraintVertical_bias="0.435" />
  50.  
  51.     <Button
  52.         android:id="@+id/btn_login"
  53.         android:layout_width="wrap_content"
  54.         android:layout_height="wrap_content"
  55.         android:text="Login"
  56.         app:layout_constraintBottom_toBottomOf="parent"
  57.         app:layout_constraintHorizontal_bias="0.662"
  58.         app:layout_constraintLeft_toLeftOf="parent"
  59.         app:layout_constraintRight_toRightOf="parent"
  60.         app:layout_constraintTop_toTopOf="parent"
  61.         app:layout_constraintVertical_bias="0.582" />
  62.  
  63.     <Button
  64.         android:id="@+id/btn_register"
  65.         android:layout_width="wrap_content"
  66.         android:layout_height="wrap_content"
  67.         android:text="register"
  68.         app:layout_constraintBottom_toBottomOf="parent"
  69.         app:layout_constraintHorizontal_bias="0.281"
  70.         app:layout_constraintLeft_toLeftOf="parent"
  71.         app:layout_constraintRight_toRightOf="parent"
  72.         app:layout_constraintTop_toTopOf="parent"
  73.         app:layout_constraintVertical_bias="0.582" />
  74. </androidx.constraintlayout.widget.ConstraintLayout>