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

androidstudio

Uploaded by

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

androidstudio

Uploaded by

my689013
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

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

>

<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"

xmlns:tools="http://schemas.android.com/tools"

android:id="@+id/main"

android:layout_width="match_parent"

android:layout_height="match_parent"

tools:context=".ui.LoginActivity">

<LinearLayout

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:orientation="vertical">

<LinearLayout

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:orientation="vertical"

android:paddingTop="60dp">

<TextView

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:text="Task-Wan"

android:textAllCaps="true"

android:textSize="30dp"

android:textColor="@color/primary_500"
android:textAlignment="center"

android:textFontWeight="800" />

<TextView

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:text="Management App"

android:textSize="16dp"

android:textAlignment="center"

android:textColor="@color/gray_88"

android:textFontWeight="400" />

</LinearLayout>

<LinearLayout

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:orientation="vertical"

android:paddingTop="70dp"

android:paddingBottom="30dp">

<TextView

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:text="Login to your account"

android:textAlignment="center"

android:textColor="@color/black_900"
android:textFontWeight="500"

android:textSize="14dp" />

</LinearLayout>

<LinearLayout

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:orientation="vertical">

<!-- Add your login input fields (e.g., EditText for email and password)
here -->

</LinearLayout>

<TextView

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:text="Email"

android:width="50px"

android:paddingTop="299px"

android:height="48px" />

<LinearLayout

android:layout_width="345dp"

android:layout_height="48dp"

android:orientation="horizontal"
android:layout_gravity="center"

android:layout_marginBottom="20dp">

<ImageView

android:layout_width="48dp"

android:layout_height="48dp"

android:background="@drawable/left_corners"

android:src="@drawable/message"

android:padding="16dp" />

<EditText

android:layout_width="match_parent"

android:layout_height="match_parent"

android:paddingHorizontal="24dp"

android:hint="Email"

android:textColorHint="@color/black_100"

android:background="@drawable/right_corners" />

</LinearLayout>

<LinearLayout

android:layout_width="345dp"

android:layout_height="48dp"

android:orientation="horizontal"

android:layout_gravity="center">
<ImageView

android:layout_width="48dp"

android:layout_height="48dp"

android:background="@drawable/left_corners"

android:src="@drawable/lock"

android:padding="16dp" />

<EditText

android:layout_width="match_parent"

android:layout_height="match_parent"

android:paddingHorizontal="24dp"

android:hint="Password"

android:textColorHint="@color/black_100"

android:background="@drawable/right_corners" />

</LinearLayout>

<LinearLayout

android:layout_width="345dp"

android:layout_height="wrap_content"

android:orientation="horizontal"

android:layout_gravity="center">

<TextView

android:layout_width="345dp"
android:layout_height="wrap_content"

android:hint="forgot your password"

android:text="Forgot password?"

android:textAlignment="textEnd"

android:textColor="@color/primary_500" />

</LinearLayout>

<Button

android:backgroundTint="@color/primary_69"

android:id="@+id/login_btn"

android:layout_width="350dp"

android:layout_height="60dp"

android:layout_marginLeft="30dp"

android:layout_marginTop="16dp"

android:padding="10dp"

android:text="Login"

android:textColor="@color/white" />

<LinearLayout

<LinearLayout

android:layout_width="match_parent"

android:layout_height="wrap_content">

<TextView

android:layout_width="120dp"

android:layout_height="20dp"

android:layout_marginLeft="150dp"

android:layout_marginTop="50dp"
android:text="-Or login with-"

android:textAlignment="center"

android:textColor="@color/gray_100" />

</LinearLayout>

</LinearLayout>

</androidx.constraintlayout.widget.ConstraintLayout>

You might also like