0% found this document useful (0 votes)
6 views2 pages

Android Login Form XML Layout

The document describes a login form layout with a text view for the title, edit texts for name, date and time, and a button below the time edit text.

Uploaded by

Muqadas Hassan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views2 pages

Android Login Form XML Layout

The document describes a login form layout with a text view for the title, edit texts for name, date and time, and a button below the time edit text.

Uploaded by

Muqadas Hassan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

<?xml version="1.0" encoding="utf-8"?

>
<[Link]
xmlns:android="[Link]
xmlns:app="[Link]
xmlns:tools="[Link]
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="visible"
tools:context=".MainActivity">

<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
tools:ignore="HardcodedText"
android:paddingLeft="16dp"
android:paddingRight="16dp" >
<TextView
android:id="@+id/textView"
android:layout_width="match_parent"
android:layout_height="62dp"
android:layout_gravity="center"
android:accessibilityHeading="false"
android:background="#2196F3"
android:text="Login Form"
android:textAlignment="center"
android:textSize="15pt"
android:textStyle="bold" />
<EditText
android:id="@+id/name"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/textView"
android:hint="Write your name " />

<EditText
android:id="@+id/dates"
android:layout_width="107dp"
android:layout_height="wrap_content"
android:layout_below="@id/name"
android:layout_alignParentLeft="true" />

<EditText
android:id="@+id/time"
android:layout_width="107dp"
android:layout_height="wrap_content"
android:layout_below="@id/name"
android:layout_alignParentRight="true" />

<Button
android:id="@+id/button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/time"
android:layout_alignParentRight="true"
android:text="done" />

</RelativeLayout>
</[Link]>

You might also like