-
-
Save mdmuaj13/16c478bd83626c85bfe766b9555ca4c6 to your computer and use it in GitHub Desktop.
android form practice
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="wrap_content" | |
android:orientation="vertical" | |
tools:context=".MainActivity"> | |
<LinearLayout | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
> | |
<TextView | |
android:id="@+id/textView2" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:text="First Name " /> | |
<EditText | |
android:id="@+id/editText3" | |
android:layout_width="353dp" | |
android:layout_height="wrap_content" | |
android:ems="10" | |
android:inputType="textPersonName" /> | |
</LinearLayout> | |
<LinearLayout | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
> | |
<TextView | |
android:id="@+id/textView2" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:text="Last Name " /> | |
<EditText | |
android:id="@+id/editText3" | |
android:layout_width="353dp" | |
android:layout_height="wrap_content" | |
android:ems="10" | |
android:inputType="textPersonName" /> | |
</LinearLayout> | |
<LinearLayout | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
> | |
<TextView | |
android:id="@+id/textView2" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:text="Date of Birth" /> | |
<EditText | |
android:id="@+id/editText3" | |
android:layout_width="353dp" | |
android:layout_height="wrap_content" | |
android:ems="10" | |
android:inputType="textPersonName" /> | |
</LinearLayout> | |
<LinearLayout | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
> | |
<TextView | |
android:id="@+id/textView2" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:text="Password " /> | |
<EditText | |
android:id="@+id/editText3" | |
android:layout_width="353dp" | |
android:layout_height="wrap_content" | |
android:ems="10" | |
android:inputType="textPassword" /> | |
</LinearLayout> | |
<Button | |
android:id="@+id/button2" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:text="Submit" /> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment