Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout 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:id="@+id/main_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center"
- android:orientation="vertical">
- <ImageView
- android:id="@+id/ivLogin"
- android:layout_width="100dp"
- android:layout_height="100dp"
- android:src="@drawable/amcc"
- android:layout_margin="32dp" />
- <com.google.android.material.textfield.TextInputLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <EditText
- android:id="@+id/etNimLogin"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/margin32"
- android:layout_marginRight="@dimen/margin32"
- android:hint="NIM" />
- </>
- <com.google.android.material.textfield.TextInputLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:passwordToggleEnabled="true">
- <EditText
- android:id="@+id/etPasswordLogin"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/margin32"
- android:layout_marginTop="@dimen/margin16"
- android:layout_marginRight="@dimen/margin32"
- android:inputType="textPassword"
- android:hint="Password" />
- </com.google.android.material.textfield.TextInputLayout>
- <Button
- android:id="@+id/btnLogin"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="@dimen/margin32"
- android:background="@drawable/shape_linear_layout"
- android:text="Login"
- android:textColor="@android:color/white" />
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement