0% found this document useful (0 votes)
6 views

Exp4 Output

The document describes an Android layout for a sign up screen containing a text view for the title, an image view, text views for email and password labels, text input fields for email and password, and a button to sign up.

Uploaded by

Janhavi S
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Exp4 Output

The document describes an Android layout for a sign up screen containing a text view for the title, an image view, text views for email and password labels, text input fields for email and password, and a button to sign up.

Uploaded by

Janhavi S
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

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

>
<androidx.constraintlayout.widget.ConstraintLayout
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:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Sign Up!"
android:textSize="36sp"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.219"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.077" />

<ImageView
android:id="@+id/imageView"
android:layout_width="285dp"
android:layout_height="218dp"
app:srcCompat="@drawable/img"
tools:layout_editor_absoluteX="61dp"
tools:layout_editor_absoluteY="120dp" />

<TextView
android:id="@+id/textView"
android:layout_width="211dp"
android:layout_height="50dp"
android:text="E-Mail:"
android:textSize="30sp"
tools:layout_editor_absoluteX="61dp"
tools:layout_editor_absoluteY="372dp" />

<com.google.android.material.textfield.TextInputEditText
android:layout_width="290dp"
android:layout_height="58dp"
android:hint="Please enter your email "
tools:layout_editor_absoluteX="61dp"
tools:layout_editor_absoluteY="434dp" />

<TextView
android:id="@+id/textView2"
android:layout_width="213dp"
android:layout_height="48dp"
android:text="Password:"
android:textSize="30sp"
tools:layout_editor_absoluteX="63dp"
tools:layout_editor_absoluteY="508dp" />

<EditText
android:id="@+id/editTextTextPassword"
android:layout_width="297dp"
android:layout_height="47dp"
android:ems="10"
android:inputType="textPassword"
tools:layout_editor_absoluteX="61dp"
tools:layout_editor_absoluteY="567dp" />

<Button
android:id="@+id/button"
android:layout_width="206dp"
android:layout_height="60dp"
android:text="Sign Up"
android:textSize="30sp"
tools:layout_editor_absoluteX="102dp"
tools:layout_editor_absoluteY="628dp" />

</androidx.constraintlayout.widget.ConstraintLayout>

OutPut:

You might also like