Created
June 20, 2017 05:09
-
-
Save AasemJS/6de2f320605d42fee67a67fb1f3d3e5b 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"?> | |
<RelativeLayout 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" | |
android:background="#bbb" | |
tools:context="com.example.aasemjs.linearlayout.MainActivity"> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:layout_alignParentLeft="true" | |
android:layout_alignParentStart="true" | |
android:layout_alignParentTop="true" | |
android:orientation="vertical" | |
android:weightSum="1"> | |
<TextView | |
android:id="@+id/textView" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:text="Enter your details" /> | |
<TextView | |
android:id="@+id/textView2" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:text="Everything is confidential" | |
android:layout_weight="0.23" /> | |
<EditText | |
android:id="@+id/editText" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:ems="10" | |
android:hint="Name..." | |
android:inputType="textPersonName" /> | |
<EditText | |
android:id="@+id/editText2" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:ems="10" | |
android:hint="Email..." | |
android:inputType="textPersonName" /> | |
<EditText | |
android:id="@+id/editText3" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:ems="10" | |
android:hint="Password..." | |
android:inputType="textPassword" /> | |
<EditText | |
android:id="@+id/editText4" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:ems="10" | |
android:hint="Confirm Password..." | |
android:inputType="textPassword" /> | |
<Button | |
android:id="@+id/button" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:text="Submit" /> | |
<Button | |
android:id="@+id/button2" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:text="Cancel" /> | |
<Button | |
android:id="@+id/button3" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:text="Reset" /> | |
</LinearLayout> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment