Skip to content

Instantly share code, notes, and snippets.

@venkatesh05
Created May 22, 2012 10:03
Show Gist options
  • Save venkatesh05/2768043 to your computer and use it in GitHub Desktop.
Save venkatesh05/2768043 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:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<TextView
android:id="@+id/login"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Login" />
<TextView
android:id="@+id/uname"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="User name" />
<EditText
android:id="@+id/username"
android:layout_width="100dp"
android:layout_height="wrap_content" >
<requestFocus />
</EditText>
<TextView
android:id="@+id/passwordTxt"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Password" />
<EditText
android:id="@+id/password"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:inputType="textPassword" />
<Button
android:id="@+id/submit"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Submit" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment