Created
November 13, 2016 10:11
-
-
Save mplacona/ae9c1a70520e8b2c7c78bbfba1facd45 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<ScrollView | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent" | |
android:fitsSystemWindows="true" | |
xmlns:tools="http://schemas.android.com/tools" | |
tools:context=".MainActivity" | |
android:background="@color/colorPrimary"> | |
<LinearLayout | |
android:orientation="vertical" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:paddingTop="56dp" | |
android:paddingLeft="24dp" | |
android:paddingRight="24dp"> | |
<ImageView android:src="@drawable/selfie" | |
android:layout_width="wrap_content" | |
android:layout_height="72dp" | |
android:layout_marginBottom="24dp" | |
android:layout_gravity="center_horizontal" /> | |
<!-- Login Label --> | |
<android.support.design.widget.TextInputLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="8dp" | |
android:layout_marginBottom="8dp"> | |
<EditText android:id="@+id/login_et" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:hint="Email" /> | |
</android.support.design.widget.TextInputLayout> | |
<!-- Password Label --> | |
<android.support.design.widget.TextInputLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="8dp" | |
android:layout_marginBottom="8dp"> | |
<EditText android:id="@+id/password_et" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:inputType="text|textVisiblePassword" | |
android:hint="Password"/> | |
</android.support.design.widget.TextInputLayout> | |
<android.support.v7.widget.AppCompatButton | |
android:id="@+id/login_bt" | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="24dp" | |
android:layout_marginBottom="24dp" | |
android:padding="12dp" | |
android:text="Login"/> | |
</LinearLayout> | |
</ScrollView> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment