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:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_margin="10dp"
- android:orientation="vertical"
- tools:context=".MainActivity">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="30dp"
- android:text="Login"
- android:textAlignment="center"
- android:textAppearance="?android:attr/textAppearanceLarge" />
- <EditText
- android:id="@+id/tv_email"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="Email"
- android:inputType="textEmailAddress" />
- <EditText
- android:id="@+id/tv_pass"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="Password"
- android:inputType="textPassword" />
- <Button
- android:id="@+id/btn_masuk"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_marginTop="15dp"
- android:background="@color/colorPrimaryDark"
- android:paddingHorizontal="80dp"
- android:text="Masuk"
- android:textColor="@android:color/white" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:text="Belum punya akun?"
- android:textAlignment="center" />
- <TextView
- android:id="@+id/tv_daftar"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="5dp"
- android:text="Daftar"
- android:textAlignment="center"
- android:textColor="@color/colorPrimaryDark" />
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement