Skip to content
Snippets Groups Projects
Commit 6d22814a authored by Tharun kumar's avatar Tharun kumar
Browse files

Upload New File

parent 13b92ad5
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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=".MainActivity"
android:background="@drawable/img2">
<ImageView
android:id="@+id/loginlogo"
android:layout_width="150dp"
android:layout_height="150dp"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="119dp"
android:background="@drawable/lg4" />
<EditText
android:id="@+id/username"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerInParent="true"
android:layout_marginStart="149dp"
android:layout_marginLeft="149dp"
android:layout_marginBottom="362dp"
android:ems="10"
android:drawableLeft="@drawable/ic_action_email"
android:hint="Email"
android:inputType="textEmailAddress" />
<EditText
android:id="@+id/password"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginStart="153dp"
android:layout_marginLeft="149dp"
android:layout_marginBottom="292dp"
android:ems="10"
android:hint="Password"
android:inputType="textPassword"
android:drawableLeft="@drawable/ic_action_lock2"/>
<androidx.cardview.widget.CardView
android:id="@+id/logincard"
android:layout_width="220dp"
android:layout_height="50dp"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="197dp"
app:cardBackgroundColor="@color/colorAccent"
app:cardCornerRadius="25dp"
app:cardElevation="10dp">
<RelativeLayout
android:layout_width="262dp"
android:layout_height="37dp">
<TextView
android:id="@+id/logintext"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
android:layout_marginEnd="132dp"
android:layout_marginRight="132dp"
android:layout_marginBottom="7dp"
android:background="@color/colorAccent"
android:text="LOGIN" />
</RelativeLayout>
/>
</androidx.cardview.widget.CardView>
<TextView
android:id="@+id/register"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginStart="106dp"
android:layout_marginLeft="106dp"
android:layout_marginBottom="130dp"
android:text="Register Here /" />
<TextView
android:id="@+id/adminlog"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
android:layout_marginEnd="112dp"
android:layout_marginRight="112dp"
android:layout_marginBottom="129dp"
android:text="Admin Login" />
</RelativeLayout>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment