Android Layout Design
Layout design script below here
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.example.root.layouts.UserregistrationActivity">
<LinearLayout
android:id="@+id/Linearlayout"
android:layout_centerVertical="true"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:text="Username"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<EditText
android:id="@+id/Txtusername"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Enter Username"/>
<TextView
android:text="Password"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<EditText
android:id="@+id/Txtpassword"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPassword"
android:hint="Enter Password"/>
<TextView
android:text="Email"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<EditText
android:id="@+id/Txtemail"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Enter Email"/>
<Button
android:id="@+id/Btnregister"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Register User"/>
</LinearLayout>
<TextView
android:layout_below="@+id/Linearlayout"
android:textAppearance="@style/TextAppearance.AppCompat.Large"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:textAlignment="center"
android:text="Alreay Registerd ? \n Click Here to Login"
/>
</RelativeLayout>