From 65e1a4c57a0bce0c29304910608d905335640cbe Mon Sep 17 00:00:00 2001 From: Tharun kumar <cb.en.u4cse17419@cb.students.amrita.edu> Date: Mon, 20 Apr 2020 18:38:55 +0530 Subject: [PATCH] Upload New File --- activity_userlogin.xml | 159 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 159 insertions(+) create mode 100644 activity_userlogin.xml diff --git a/activity_userlogin.xml b/activity_userlogin.xml new file mode 100644 index 0000000..078b978 --- /dev/null +++ b/activity_userlogin.xml @@ -0,0 +1,159 @@ +<?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_name1" + 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_email1" + 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="414dp" + android:drawableLeft="@drawable/ic_action_email" + android:ems="13" + android:hint="Email" /> + + <EditText + android:id="@+id/register_password1" + 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="60dp" + android:layout_marginLeft="60dp" + android:layout_marginTop="472dp" + android:drawableLeft="@drawable/ic_action_lock2" + android:ems="13" + android:hint="Password" /> + + <androidx.cardview.widget.CardView + android:id="@+id/btnshow" + android:layout_width="260dp" + android:layout_height="50dp" + android:layout_alignParentEnd="true" + android:layout_alignParentRight="true" + android:layout_centerHorizontal="true" + android:layout_marginTop="620dp" + 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/logintext1" + 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="118dp" + android:layout_marginRight="118dp" + android:layout_marginBottom="4dp" + android:background="@color/colorAccent" + android:text="Show All" /> + </RelativeLayout> + /> + + </androidx.cardview.widget.CardView> + + <androidx.cardview.widget.CardView + android:id="@+id/btnAdd2" + android:layout_width="260dp" + android:layout_height="50dp" + android:layout_alignParentEnd="true" + android:layout_alignParentRight="true" + android:layout_centerHorizontal="true" + android:layout_marginTop="560dp" + android:layout_marginEnd="69dp" + android:layout_marginRight="69dp" + app:cardBackgroundColor="@color/colorAccent" + app:cardCornerRadius="25dp" + app:cardElevation="10dp"> + + <RelativeLayout + android:layout_width="262dp" + android:layout_height="37dp"> + + <TextView + android:id="@+id/logintext2" + 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="116dp" + android:layout_marginRight="116dp" + android:layout_marginBottom="4dp" + android:background="@color/colorAccent" + android:text="Add User" /> + </RelativeLayout> + /> + + </androidx.cardview.widget.CardView> + + <Button + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:id="@+id/data_delete" + android:text="delete" + android:visibility="invisible"/> + + <Button + android:id="@+id/data_search" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentTop="true" + android:layout_alignParentEnd="true" + android:layout_marginTop="13dp" + android:text="search" + android:visibility="invisible"/> + + +</RelativeLayout> + -- GitLab