Skip to content

Instantly share code, notes, and snippets.

@KoMinkyu
Last active August 29, 2015 13:56
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 KoMinkyu/8838785 to your computer and use it in GitHub Desktop.
Save KoMinkyu/8838785 to your computer and use it in GitHub Desktop.
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/screen2"
tools:context=".MainActivity$PlaceholderFragment">
<EditText
android:layout_width="290dp"
android:layout_height="43dp"
android:layout_marginTop="235dp"
android:background="#747474"
android:text="username"
android:textColor="#ffffff"
android:gravity="center_horizontal|center_vertical"
android:layout_centerHorizontal="true"/>
<EditText
android:layout_width="290dp"
android:layout_height="43dp"
android:layout_marginTop="293dp"
android:background="#747474"
android:text="password"
android:textColor="#ffffff"
android:gravity="center_horizontal|center_vertical"
android:layout_centerHorizontal="true"/>
<LinearLayout
android:layout_height="match_parent"
android:layout_width="match_parent"
android:gravity="center_horizontal"
>
<Button
android:layout_width="80dp"
android:layout_height="40dp"
android:layout_marginTop="350dp"
android:layout_marginRight="10dp"
android:background="@drawable/Login"/>
<Button
android:layout_width="80dp"
android:layout_height="40dp"
android:layout_marginTop="350dp"
android:background="@drawable/Register"/>
</LinearLayout>
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment