<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="20dp"
>
<TextView
android:id="@+id/textView01"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Login"
android:textSize="40sp"
android:layout_centerHorizontal="true"
/>
<EditText
android:id="@+id/editText01"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/textView01"
android:hint="Username"
android:textSize="30sp"
/>
<EditText
android:id="@+id/editText02"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/editText01"
android:inputType="textPassword"
android:hint="Password"
android:textSize="30sp"
/>
<Button
android:id="@+id/button01"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Cancel"
android:layout_below="@id/editText02"
android:layout_alignParentRight="true"/>
<Button
android:id="@+id/button02"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/editText02"
android:text="Login"
android:layout_toLeftOf="@id/button01"/>
<Button
android:id="@+id/button03"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Register"
android:layout_below="@id/button01"
android:layout_alignParentRight="true"
android:layout_alignLeft="@id/button02"/>
</RelativeLayout>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="20dp"
>
<TextView
android:id="@+id/textView01"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Login"
android:textSize="40sp"
android:layout_centerHorizontal="true"
/>
<EditText
android:id="@+id/editText01"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/textView01"
android:hint="Username"
android:textSize="30sp"
/>
<EditText
android:id="@+id/editText02"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/editText01"
android:inputType="textPassword"
android:hint="Password"
android:textSize="30sp"
/>
<Button
android:id="@+id/button01"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Cancel"
android:layout_below="@id/editText02"
android:layout_alignParentRight="true"/>
<Button
android:id="@+id/button02"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/editText02"
android:text="Login"
android:layout_toLeftOf="@id/button01"/>
<Button
android:id="@+id/button03"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Register"
android:layout_below="@id/button01"
android:layout_alignParentRight="true"
android:layout_alignLeft="@id/button02"/>
</RelativeLayout>