Advertisement
Guest User

Untitled

a guest
Nov 15th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.74 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:tools="http://schemas.android.com/tools"
  4.    android:layout_width="match_parent"
  5.    android:layout_height="match_parent"
  6.    xmlns:app="http://schemas.android.com/apk/res-auto"
  7.    android:background="@drawable/background"
  8.    android:padding="20dp"
  9.    tools:context=".Activity.Login">
  10. <androidx.cardview.widget.CardView
  11.    android:layout_width="match_parent"
  12.    android:layout_height="wrap_content"
  13.    android:layout_centerInParent="true">
  14.     <LinearLayout
  15.        android:layout_width="match_parent"
  16.        android:layout_height="wrap_content"
  17.        android:orientation="vertical"
  18.        android:padding="10dp">
  19.         <com.rengwuxian.materialedittext.MaterialEditText
  20.            android:layout_width="match_parent"
  21.            android:layout_height="wrap_content"
  22.            android:hint="PHONE NUMBER"
  23.            android:text="+62"
  24.            android:textSize="34sp"
  25.            android:inputType="phone"
  26.            android:id="@+id/edtPhone"
  27.            app:met_floatingLabel="highlight"
  28.            app:met_maxCharacters="11"/>
  29.         <info.hoang8f.widget.FButton
  30.            android:layout_width="match_parent"
  31.            android:layout_height="wrap_content"
  32.            android:layout_margin="8dp"
  33.            android:shadowColor="@android:color/black"
  34.            android:text="KODE"
  35.            android:id="@+id/btnKode"
  36.            app:buttonColor="@color/btnSignIn"
  37.            android:layout_marginStart="8dp"
  38.            android:layout_marginEnd="8dp"
  39.            android:layout_alignParentBottom="true"/>
  40.         <com.rengwuxian.materialedittext.MaterialEditText
  41.            android:layout_width="match_parent"
  42.            android:layout_height="wrap_content"
  43.            android:hint="KODE VERIFIKASI"
  44.            android:textColor="@android:color/white"
  45.            android:textColorHint="@android:color/white"
  46.            android:textSize="34sp"
  47.            android:inputType="textPassword"
  48.            android:id="@+id/edtKode"
  49.            app:met_floatingLabel="highlight"
  50.            app:met_maxCharacters="11"/>
  51.         <info.hoang8f.widget.FButton
  52.            android:layout_width="match_parent"
  53.            android:layout_height="wrap_content"
  54.            android:layout_margin="8dp"
  55.            android:shadowColor="@android:color/black"
  56.            android:text="Sign In"
  57.            android:id="@+id/btnSignIn"
  58.            app:buttonColor="@color/btnSignIn"
  59.            android:layout_marginStart="8dp"
  60.            android:layout_marginEnd="8dp"
  61.            android:layout_alignParentBottom="true"/>
  62.     </LinearLayout>
  63. </androidx.cardview.widget.CardView>
  64. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement