Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- tools:context=".MainActivity">
- <EditText
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:hint="Enter user name"
- android:id="@+id/username"
- android:inputType="text"
- />
- <Button
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Login"
- android:id="@+id/login"/>
- </LinearLayout>
Add Comment
Please, Sign In to add comment