Created
May 19, 2018 06:50
-
-
Save fahmifan/216b922b233886703c437254d35b5d0a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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:layout_width="match_parent" | |
android:layout_height="match_parent" | |
tools:context=".MainActivity" | |
android:orientation="vertical"> | |
<TextView | |
android:layout_gravity="center" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="Register" | |
android:textSize="30sp" | |
android:padding="20dp"/> | |
<EditText | |
android:padding="10dp" | |
android:layout_margin="5dp" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:hint="email" | |
android:id="@+id/signup_email_input" | |
android:inputType="textEmailAddress" | |
/> | |
<EditText | |
android:padding="10dp" | |
android:layout_margin="5dp" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:hint="password" | |
android:id="@+id/signup_password_input" | |
android:inputType="textPassword" | |
/> | |
<Button | |
android:id="@+id/button_register" | |
android:layout_gravity="center" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="Register" | |
android:layout_marginTop="40dp"/> | |
<Button | |
android:id="@+id/button_login" | |
android:layout_gravity="center" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="Login" | |
android:layout_marginTop="40dp"/> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment