Skip to content

Instantly share code, notes, and snippets.

@venkatesh05
Created May 25, 2012 05:39
Show Gist options
  • Save venkatesh05/2785993 to your computer and use it in GitHub Desktop.
Save venkatesh05/2785993 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<AbsoluteLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<TextView
android:id="@+id/login"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Login" android:layout_x="10dp" android:layout_y="10dp"/>
<TextView
android:id="@+id/uname"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="User name" android:layout_x="10dp" android:layout_y="30dp"/>
<EditText
android:id="@+id/username"
android:layout_width="100dp"
android:layout_height="wrap_content" android:layout_x="10dp" android:layout_y="50dp">
<requestFocus />
</EditText>
<TextView
android:id="@+id/passwordTxt"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Password" android:layout_x="150dp" android:layout_y="30dp"/>
<EditText
android:id="@+id/password"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:inputType="textPassword" android:layout_x="150dp" android:layout_y="50dp"/>
<Button
android:id="@+id/submit"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Submit" android:layout_x="100dp" android:layout_y="110dp"/>
</AbsoluteLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment