diff --git a/activity_register.xml b/activity_register.xml new file mode 100644 index 0000000000000000000000000000000000000000..c25640bb5394d35a255656fb28eb92d71c70e5ed --- /dev/null +++ b/activity_register.xml @@ -0,0 +1,106 @@ +<?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=".Register" + android:background="@drawable/img2"> + + <ImageView + android:id="@+id/registerlogo" + android:layout_width="150dp" + android:layout_height="150dp" + android:layout_alignParentTop="true" + android:layout_centerHorizontal="true" + android:layout_marginTop="119dp" + android:background="@drawable/pinkavatar" /> + + <EditText + android:id="@+id/register_name" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentStart="true" + android:layout_alignParentLeft="true" + android:layout_alignParentTop="true" + android:layout_centerHorizontal="true" + android:layout_marginStart="59dp" + android:layout_marginLeft="59dp" + android:layout_marginTop="359dp" + android:drawableLeft="@drawable/ic_action_user2" + android:editable="true" + android:ellipsize="end" + android:ems="13" + android:hint="User name" + android:lines="1" + android:scrollHorizontally="true" + android:singleLine="true" /> + + <EditText + android:id="@+id/register_email" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_below="@+id/register_name" + android:layout_alignParentStart="true" + android:layout_alignParentLeft="true" + android:layout_centerHorizontal="true" + android:layout_marginStart="58dp" + android:layout_marginLeft="58dp" + android:layout_marginTop="9dp" + android:drawableLeft="@drawable/ic_action_email" + android:ems="13" + android:hint="Email" /> + + + <EditText + android:id="@+id/register_password" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_below="@+id/register_email" + android:layout_alignParentStart="true" + android:layout_alignParentLeft="true" + android:layout_centerHorizontal="true" + android:layout_marginStart="60dp" + android:layout_marginLeft="60dp" + android:layout_marginTop="8dp" + android:drawableLeft="@drawable/ic_action_lock2" + android:ems="13" + android:hint="Password" /> + + <androidx.cardview.widget.CardView + android:id="@+id/btnAdd" + android:layout_width="260dp" + android:layout_height="50dp" + android:layout_alignParentEnd="true" + android:layout_alignParentRight="true" + android:layout_centerHorizontal="true" + android:layout_marginTop="530dp" + android:layout_marginEnd="68dp" + android:layout_marginRight="68dp" + 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="105dp" + android:layout_marginRight="105dp" + android:layout_marginBottom="4dp" + android:background="@color/colorAccent" + android:text="REGISTER" /> + </RelativeLayout> + /> + + </androidx.cardview.widget.CardView> + + +</RelativeLayout> \ No newline at end of file