Skip to content
Snippets Groups Projects
Select Git revision
  • 6ed647c3b5aa5b0217b37b22a8995f4da78ee6ac
  • master default
2 results

representative_login_tab.xml

Blame
  • representative_login_tab.xml 2.78 KiB
    <?xml version="1.0" encoding="utf-8"?>
    <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
    
        android:background="@drawable/studentlogin"
        android:fitsSystemWindows="true">
    
    
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:paddingLeft="24dp"
            android:paddingRight="24dp"
            android:paddingTop="56dp">
    
            <ImageView android:layout_width="wrap_content"
                android:layout_height="72dp"
                android:layout_gravity="center_horizontal"
                android:layout_marginBottom="24dp"
                android:src="@drawable/splash_icon" />
            <android.support.design.widget.TextInputLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginBottom="8dp"
                android:layout_marginTop="8dp">
    
                <EditText
                    android:id="@+id/student_input_rollno"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:hint="Roll Number"
                    android:inputType="textCapCharacters" />
            </android.support.design.widget.TextInputLayout>
            <android.support.design.widget.TextInputLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginBottom="8dp"
                android:layout_marginTop="8dp">
                <EditText android:id="@+id/student_input_password"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:hint="Password"
                    android:inputType="textPassword"/>
            </android.support.design.widget.TextInputLayout>
    
            <android.support.v7.widget.AppCompatButton
                android:id="@+id/student_btn_login"
    
                android:layout_width="240dp"
                android:layout_height="wrap_content"
                android:layout_marginBottom="24dp"
                android:layout_marginLeft="50dp"
                android:layout_marginTop="24dp"
                android:background="@drawable/mybutton"
                android:padding="12dp"
                android:text="Login"
                android:textColor="@color/cardcolour"/>
    
    
            <TextView
                android:id="@+id/student_link_signup"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:layout_marginBottom="24dp"
                android:gravity="center"
                android:text="No account yet? Create one"
                android:textColor="@color/cardcolour"
                android:textSize="16dip" />