0% found this document useful (0 votes)
34 views3 pages

Sign XML

The document is an XML layout for a signup activity in an Android application. It includes input fields for email, name, phone number, and password, along with a signup button and a prompt for users who already have an account. The layout is designed to be scrollable and uses a vertical LinearLayout for organization.
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)
34 views3 pages

Sign XML

The document is an XML layout for a signup activity in an Android application. It includes input fields for email, name, phone number, and password, along with a signup button and a prompt for users who already have an account. The layout is designed to be scrollable and uses a vertical LinearLayout for organization.
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
You are on page 1/ 3

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

>
<ScrollView
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"
tools:context=".SignupActivity">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingTop="46dp"
android:paddingLeft="24dp"
android:paddingRight="24dp"
android:orientation="vertical">

<ImageView android:src="@drawable/sigh"
android:layout_width="wrap_content"
android:layout_height="82dp"
android:layout_marginBottom="24dp"
android:layout_gravity="center_horizontal" />
<!--email -->
<android.support.design.widget.TextInputLayout
android:id="@+id/ti_semail"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp">

<EditText android:id="@+id/et_semail"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textEmailAddress"
android:hint="Email" />
</android.support.design.widget.TextInputLayout>
<!-- Name-->
<android.support.design.widget.TextInputLayout
android:id="@+id/ti_sname"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp">

<EditText android:id="@+id/et_sname"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textEmailAddress"
android:hint="Name" />
</android.support.design.widget.TextInputLayout>
<!-- Number-->
<android.support.design.widget.TextInputLayout
android:id="@+id/ti_snumber"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp">

<EditText android:id="@+id/et_snumber"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="number"
android:hint="Number" />
</android.support.design.widget.TextInputLayout>
<!-- Password Label -->
<android.support.design.widget.TextInputLayout
android:id="@+id/ti_spassword"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
app:passwordToggleEnabled="true"
android:layout_marginBottom="8dp">
<EditText android:id="@+id/et_spassword"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPassword"
android:hint="Password"/>
</android.support.design.widget.TextInputLayout>
<Button
android:id="@+id/btn_Signup"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:background="@drawable/buy_ticket_btn_bg"
android:layout_marginBottom="24dp"
android:padding="12dp"
android:textAllCaps="false"
android:text="Sign up"/>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginTop="12dp"
android:layout_marginBottom="12dp"
android:layout_gravity="center">

<TextView android:id="@+id/tv_ssignup"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="12dp"
android:padding="2dp"
android:layout_marginTop="12dp"
android:text="Already have account"
android:gravity="center"
android:textSize="16sp"/>
<TextView android:id="@+id/tv_slogin"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="12dp"
android:padding="2dp"
android:layout_marginTop="12dp"
android:text="Login"
android:textColor="#E01010"
android:gravity="center"
android:textSize="16sp"/>

</LinearLayout>
</LinearLayout>

</ScrollView>

You might also like