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:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- tools:context=".MainActivity"
- android:gravity="center">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:layout_marginTop="20dp"
- android:layout_marginRight="20dp"
- android:layout_marginLeft="20dp">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Name:"
- android:textSize="25sp"/>
- <EditText
- android:id="@+id/e1"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textSize="25sp"/>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:layout_marginTop="30dp"
- android:layout_marginRight="20dp"
- android:layout_marginLeft="20dp">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="College:"
- android:textSize="25sp"/>
- <EditText
- android:id="@+id/e2"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textSize="25sp"/>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:layout_marginTop="40dp"
- android:layout_marginLeft="20dp"
- android:layout_marginRight="20dp">
- <Button
- android:id="@+id/bu1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="INSERT"
- android:textSize="25sp"/>
- <Button
- android:id="@+id/bu2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="EXIT"
- android:textSize="25sp"
- android:layout_marginLeft="20dp"
- android:layout_marginRight="20dp"/>
- <Button
- android:id="@+id/bu3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="DISPLAY"
- android:textSize="25sp"/>
- </LinearLayout>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement