Advertisement
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:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- tools:context="com.example.user.shishu.MainActivity">
- <TextView
- android:id="@+id/a1"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:text="LOGIN FORM"
- android:textColor="@color/colorAccent"
- android:textSize="30sp" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- >
- <ImageView
- android:layout_width="30dp"
- android:layout_height="30dp"
- android:src="@drawable/user" />
- <TextView
- android:id="@+ida5/"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="left"
- android:text="User Name:"
- android:textSize="20dp"/>
- <EditText
- android:id="@+ida6/"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <ImageView
- android:layout_width="20dp"
- android:layout_height="20dp"
- android:src="@drawable/21_lock-512"
- />
- <TextView
- android:id="@+ida7/"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="left"
- android:text="password:"
- android:textSize="20dp"/>
- <EditText
- android:id="@+id/a8"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:inputType="textPassword"
- />
- </LinearLayout>
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <Button
- android:id="@+id/a9"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="LOGIN"
- android:textColor="#f00" />
- <Button
- android:id="@+id/a10"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="200dp"
- android:text="Exit"
- android:textColor="#f00" />
- </LinearLayout>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement