Created
June 24, 2018 08:52
-
-
Save devxbs/c500ab67bb54ad13e7a9e7fef4c4b9e4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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" | |
android:background="@drawable/bg" | |
tools:context=".SignInActivity"> | |
<android.support.v7.widget.Toolbar | |
android:id="@+id/toolbar" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_alignParentStart="true" | |
android:layout_alignParentTop="true" | |
android:background="@drawable/bg" | |
android:minHeight="?attr/actionBarSize" | |
android:theme="?attr/actionBarTheme" | |
> | |
<TextView | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:text="LOGIN" | |
android:textStyle="bold" | |
android:textColor="#ffff" | |
android:textSize="20sp" | |
android:textAlignment="center" | |
/> | |
</android.support.v7.widget.Toolbar> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:layout_below="@+id/toolbar" | |
android:orientation="vertical" | |
android:layout_centerHorizontal="true"> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_marginStart="20dp" | |
android:layout_marginEnd="20dp" | |
android:layout_marginTop="20dp" | |
android:orientation="vertical" | |
android:layout_height="wrap_content" | |
android:layout_marginBottom="20dp" | |
android:gravity="center" | |
android:background="@drawable/layout_bg"> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="345dp" | |
android:orientation="vertical" | |
> | |
<EditText | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:drawablePadding="10dp" | |
android:id="@+id/email" | |
android:drawableLeft="@drawable/ic_mail_outline_black_24dp" | |
android:layout_marginEnd="20dp" | |
android:layout_marginStart="20dp" | |
android:hint="EMAIL/MOBILE" | |
android:padding="20dp" | |
android:textSize="14sp" | |
android:textColorHint="#606060" | |
android:inputType="text"/> | |
<EditText | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="10dp" | |
android:drawableLeft="@drawable/ic_lock_outline_black_24dp" | |
android:layout_marginEnd="20dp" | |
android:id="@+id/password" | |
android:layout_marginStart="20dp" | |
android:textSize="14sp" | |
android:drawablePadding="10dp" | |
android:hint="PASSWORD" | |
android:padding="20dp" | |
android:textColorHint="#606060" | |
android:inputType="textPassword"/> | |
<CheckBox | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:text="REMEMBER ME" | |
android:id="@+id/checkbox" | |
android:layout_marginTop="20dp" | |
android:layout_marginLeft="30dp" /> | |
<ImageButton | |
android:layout_width="50dp" | |
android:layout_height="50dp" | |
android:layout_gravity="end" | |
android:layout_marginTop="70dp" | |
android:layout_marginEnd="25dp" | |
android:id="@+id/signin" | |
android:src="@drawable/ic_arrow_forward_black_24dp" | |
android:background="@drawable/button_bg"/> | |
</LinearLayout> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="vertical" | |
android:gravity="center"> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_gravity="center" | |
android:layout_marginTop="25dp" | |
android:text="Don't have an Account" | |
android:textAlignment="center" | |
android:textColor="@android:color/black" | |
android:textStyle="bold" /> | |
<Button | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_gravity="center" | |
android:layout_marginLeft="40dp" | |
android:layout_marginRight="40dp" | |
android:layout_marginTop="10dp" | |
android:id="@+id/signup" | |
android:background="@drawable/button_bg" | |
android:text="SIGN UP" | |
android:textColor="@android:color/white" /> | |
</LinearLayout> | |
</LinearLayout> | |
</LinearLayout> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment