Skip to content
Snippets Groups Projects
Select Git revision
  • 9aac2574be8d6304d0852cd9fdccf16e93e44768
  • master default
2 results

activity_login.xml

Blame
  • activity_login.xml 3.07 KiB
    <?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="com.example.taskboxx.LoginActivity">
    
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="horizontal"
            android:layout_below="@+id/Pass_textLayout"
            android:paddingLeft="125dp"
            android:paddingRight="125dp"
            android:layout_marginTop="20dp">
        <Button
            android:id="@+id/login"
            style="@style/Widget.AppCompat.Button.Borderless"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="#EEEEEE"
            android:onClick="Login"
            android:text="Login" />
        </LinearLayout>
    
        <android.support.design.widget.TextInputLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:id="@+id/RollNo_textLayout"
            android:layout_centerInParent="true"
            android:layout_alignParentLeft="true"
            android:layout_alignParentStart="true">
            <EditText android:id="@+id/input_RollNo"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginRight="30dp"
                android:layout_marginLeft="30dp"
                android:inputType="text"
                android:hint="College Roll No." />
        </android.support.design.widget.TextInputLayout>
    
        <android.support.design.widget.TextInputLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="10dp"
            android:id="@+id/Pass_textLayout"
            android:layout_below="@+id/RollNo_textLayout"
            android:layout_alignParentLeft="true"
            android:layout_alignParentStart="true">
            <EditText android:id="@+id/input_password"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginRight="30dp"
                android:layout_marginLeft="30dp"
                android:inputType="textPassword"
                android:hint="Password" />
        </android.support.design.widget.TextInputLayout>
    
        <ImageView
            android:id="@+id/Amrita_Logo"
            android:layout_width="160dp"
            android:layout_height="160dp"
            android:layout_above="@+id/RollNo_textLayout"
            android:layout_centerHorizontal="true"
            android:layout_marginBottom="30dp"
            app:srcCompat="@mipmap/ic_launcher" />
    
        <TextView
            android:id="@+id/launch_signup"