Skip to content
Snippets Groups Projects
Commit d18cd90e authored by Yaazhlene Panneer selvam's avatar Yaazhlene Panneer selvam
Browse files

styling done

parents 5ed15a96 6f9f49ef
Branches
No related tags found
No related merge requests found
...@@ -2,7 +2,9 @@ ...@@ -2,7 +2,9 @@
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:fitsSystemWindows="true"> android:fitsSystemWindows="true"
android:background="@drawable/studentlogin">
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
...@@ -23,32 +25,47 @@ ...@@ -23,32 +25,47 @@
android:layout_marginBottom="8dp" android:layout_marginBottom="8dp"
android:layout_marginTop="8dp"> android:layout_marginTop="8dp">
<EditText <EditText
android:id="@+id/student_input_rollno" android:id="@+id/student_input_rollno"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:hint="Roll Number" android:hint="Roll Number"
android:inputType="textCapCharacters" /> android:backgroundTint="@color/colorPrimaryDark"
android:textColorHint="@color/colorPrimaryDark"
android:inputType="textCapCharacters"
android:textColor="@color/colorPrimaryDark"/>
</android.support.design.widget.TextInputLayout> </android.support.design.widget.TextInputLayout>
<android.support.design.widget.TextInputLayout <android.support.design.widget.TextInputLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="8dp" android:layout_marginBottom="8dp"
android:backgroundTint="@color/colorPrimaryDark"
android:layout_marginTop="8dp"> android:layout_marginTop="8dp">
<EditText android:id="@+id/student_input_password" <EditText android:id="@+id/student_input_password"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:hint="Password" android:hint="Password"
android:textColor="@color/colorPrimaryDark"
android:inputType="textPassword"/> android:inputType="textPassword"/>
</android.support.design.widget.TextInputLayout> </android.support.design.widget.TextInputLayout>
<android.support.v7.widget.AppCompatButton <android.support.v7.widget.AppCompatButton
android:id="@+id/student_btn_login" android:id="@+id/student_btn_login"
android:layout_width="fill_parent"
android:layout_width="240dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="24dp" android:layout_marginBottom="24dp"
android:layout_marginTop="24dp" android:layout_marginTop="24dp"
android:layout_marginLeft="50dp"
android:padding="12dp" android:padding="12dp"
android:textColor="@color/cardcolour"
android:background="@drawable/mybutton"
android:text="Login"/> android:text="Login"/>
<TextView android:id="@+id/student_link_signup" <TextView android:id="@+id/student_link_signup"
...@@ -56,6 +73,9 @@ ...@@ -56,6 +73,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="24dp" android:layout_marginBottom="24dp"
android:gravity="center" android:gravity="center"
android:textColor="@color/colorPrimaryDark"
android:text="No account yet? Create one" android:text="No account yet? Create one"
android:textSize="16dip" /> android:textSize="16dip" />
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<color name="colorPrimary">#f44336</color>
<color name="colorPrimaryDark">#d32f2f</color>
<color name="colorAccent">#ff0000</color> <color name="colorPrimary">#80475E</color>
<color name="colorPrimaryDark">#032B43</color>
<color name="colorAccent">#CC5A71</color>
<color name="cardcolour">#fafafa</color> <color name="cardcolour">#fafafa</color>
</resources> </resources>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment