Advertisement
Baru_Berbagi

activity_main.xml

May 13th, 2021
646
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.30 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout 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:orientation="vertical"
  8.    android:gravity="center"
  9.    android:background="@drawable/background"
  10.    tools:context=".MainActivity">
  11.  
  12.     <TextView
  13.        android:layout_width="wrap_content"
  14.        android:layout_height="wrap_content"
  15.        android:text="Use your fingerPrint to Login"
  16.        android:textColor="#fafafa" />
  17.  
  18.     <ImageView
  19.        android:layout_width="wrap_content"
  20.        android:layout_height="wrap_content"
  21.        android:src="@drawable/ic_fingerprint_black_24dp"
  22.        android:layout_marginVertical="20dp"/>
  23.  
  24.     <TextView
  25.        android:id="@+id/txt_msg"
  26.        android:layout_width="wrap_content"
  27.        android:layout_height="wrap_content"
  28.        android:textColor="#ff0000"/>
  29.  
  30.     <Button
  31.        android:id="@+id/login_btn"
  32.        android:layout_width="wrap_content"
  33.        android:layout_height="wrap_content"
  34.        android:text="Login"
  35.        android:background="#fff"
  36.        android:layout_marginVertical="12dp"/>
  37.  
  38. </LinearLayout>
  39.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement