Skip to content

Instantly share code, notes, and snippets.

@phyous
Created August 29, 2014 05:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phyous/452557b58c5535e836d2 to your computer and use it in GitHub Desktop.
Save phyous/452557b58c5535e836d2 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/orange_hn"
>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/white"
android:layout_gravity="center_horizontal"
android:layout_marginTop="36dp"
android:layout_marginBottom="30dp"
android:textStyle="bold"
android:text="Y"
android:textSize="56sp"
/>
<EditText
android:layout_width="match_parent"
android:layout_height="36dp"
android:layout_marginTop="16dp"
android:layout_marginLeft="@dimen/login_margin"
android:layout_marginRight="@dimen/login_margin"
android:padding="6dp"
android:background="@drawable/rounded_box_white"
android:hint="@string/username"
/>
<EditText
android:layout_width="match_parent"
android:layout_height="36dp"
android:layout_marginTop="16dp"
android:layout_marginLeft="@dimen/login_margin"
android:layout_marginRight="@dimen/login_margin"
android:padding="6dp"
android:background="@drawable/rounded_box_white"
android:hint="@string/password"
/>
<Button
android:layout_width="match_parent"
android:layout_height="36dp"
android:layout_marginTop="16dp"
android:layout_marginLeft="@dimen/login_margin"
android:layout_marginRight="@dimen/login_margin"
android:textColor="@color/white"
android:background="@drawable/rounded_box_grey"
android:text="@string/log_in"
/>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment