Skip to content

Commit

Permalink
signupactivity
Browse files Browse the repository at this point in the history
front end page
  • Loading branch information
milan-deori authored Apr 23, 2024
1 parent 2b3ef9c commit 2758d90
Showing 1 changed file with 142 additions and 0 deletions.
142 changes: 142 additions & 0 deletions activity_signup.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
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"
android:orientation="vertical"
android:gravity="center"
android:background="@drawable/pagebkg"
tools:context=".SignupActivity">

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="30dp"
app:cardCornerRadius="30dp"
app:cardElevation="20dp">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_gravity="clip_horizontal"
android:padding="24dp"
android:background="@drawable/lavender_border">

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Sign Up"
android:textSize="36sp"
android:textAlignment="center"
android:textStyle="bold"
android:textColor="@color/lavender"/>

<EditText
android:layout_width="match_parent"
android:layout_height="50dp"
android:id="@+id/signup_name"
android:background="@drawable/lavender_border"
android:layout_marginTop="20dp"
android:padding="8dp"
android:hint="Enter Name"
android:drawableLeft="@drawable/ic_baseline_person_24"
android:drawablePadding="8dp"
android:textSize="20sp"
android:textColor="@color/black"/>
<EditText
android:layout_width="match_parent"
android:layout_height="50dp"
android:id="@+id/signup_email"
android:background="@drawable/lavender_border"
android:layout_marginTop="25dp"
android:padding="8dp"
android:hint="Enter Email"
android:drawableLeft="@drawable/ic_baseline_email_24"
android:drawablePadding="8dp"
android:textSize="20sp"
android:textColor="@color/black"/>
<EditText
android:layout_width="match_parent"
android:layout_height="50dp"
android:id="@+id/signup_phone"
android:background="@drawable/lavender_border"
android:layout_marginTop="25dp"
android:padding="8dp"
android:hint="Enter Phone Number"
android:drawableLeft="@drawable/ic_baseline_phone_24"
android:drawablePadding="8dp"
android:textSize="20sp"
android:textColor="@color/black"/>
<EditText
android:layout_width="match_parent"
android:layout_height="50dp"
android:id="@+id/signup_school"
android:background="@drawable/lavender_border"
android:layout_marginTop="25dp"
android:padding="8dp"
android:hint="Enter Class"
android:drawableLeft="@drawable/ic_baseline_school_24"
android:drawablePadding="8dp"
android:textSize="20sp"
android:textColor="@color/black"/>
<EditText
android:layout_width="match_parent"
android:layout_height="50dp"
android:id="@+id/signup_username"
android:background="@drawable/lavender_border"
android:layout_marginTop="25dp"
android:padding="8dp"
android:hint="Enter Username"
android:drawableLeft="@drawable/ic_baseline_person_pin_24"
android:drawablePadding="8dp"
android:textSize="20sp"
android:textColor="@color/black"/>
<EditText
android:layout_width="match_parent"
android:layout_height="50dp"
android:id="@+id/signup_password"
android:background="@drawable/lavender_border"
android:layout_marginTop="25dp"
android:padding="8dp"
android:hint="Enter Password"
android:inputType="textPassword"
android:drawableLeft="@drawable/ic_baseline_lock_24"
android:drawablePadding="8dp"
android:textSize="20sp"
android:textColor="@color/black"/>


<Button
android:layout_width="match_parent"
android:layout_height="50dp"
android:text="Sign Up"
android:textStyle="bold"
android:id="@+id/signup_button"
android:textSize="18sp"
android:layout_marginTop="20dp"
android:background="@drawable/lavender_border"/>

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/loginRedirectText"
android:text="Already an user? Login"
android:layout_gravity="center"
android:padding="8dp"
android:layout_marginTop="10dp"
android:textSize="18sp"
android:textColor="@color/lavender"/>







</LinearLayout>
</androidx.cardview.widget.CardView>
</LinearLayout>

0 comments on commit 2758d90

Please sign in to comment.