Skip to content

Instantly share code, notes, and snippets.

@kundansviet
Created February 21, 2016 08:14
Show Gist options
  • Save kundansviet/9bedfb17418ebb546f54 to your computer and use it in GitHub Desktop.
Save kundansviet/9bedfb17418ebb546f54 to your computer and use it in GitHub Desktop.
<?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.databasetest.MainActivity">
<EditText
android:layout_margin="10dp"
android:id="@+id/et_name"
android:hint="Enter your name"
android:layout_width="match_parent"
android:layout_height="45dp" />
<EditText
android:layout_margin="10dp"
android:layout_below="@+id/et_name"
android:id="@+id/et_college"
android:hint="Enter your college name"
android:layout_width="match_parent"
android:layout_height="45dp" />
<EditText
android:layout_below="@+id/et_college"
android:layout_margin="10dp"
android:id="@+id/et_userid"
android:hint="Enter your user id"
android:layout_width="match_parent"
android:layout_height="45dp" />
<EditText
android:layout_below="@+id/et_userid"
android:layout_margin="10dp"
android:id="@+id/et_place"
android:hint="Enter your place"
android:layout_width="match_parent"
android:layout_height="45dp" />
<EditText
android:layout_below="@+id/et_place"
android:layout_margin="10dp"
android:id="@+id/et_number"
android:hint="Enter your number"
android:layout_width="match_parent"
android:layout_height="45dp" />
<Button
android:id="@+id/btn_next"
android:layout_marginTop="10dp"
android:layout_below="@+id/et_number"
android:layout_centerHorizontal="true"
android:text="Next"
android:layout_width="150dp"
android:layout_height="45dp" />
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment