Advertisement
apl-mhd

LinearLayout

Jan 26th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.15 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout
  3.     xmlns:android="http://schemas.android.com/apk/res/android"
  4.     xmlns:tools="http://schemas.android.com/tools"
  5.     xmlns:app="http://schemas.android.com/apk/res-auto"
  6.     android:layout_height="match_parent"
  7.     android:layout_width="match_parent"
  8.     android:id="@+id/activity_main"
  9.     android:orientation="vertical"
  10.     android:paddingTop="10dp"
  11.     android:paddingLeft="5dp"
  12.     android:paddingRight="5dp"
  13.     tools:context="com.example.reaz.linearlayout.MainActivity">
  14.  
  15.    
  16.     <EditText
  17.         android:layout_width="match_parent"
  18.         android:layout_height="wrap_content"
  19.         android:hint="Enter Email Address"
  20.         android:gravity="center"
  21.         />
  22.     <EditText
  23.         android:layout_width="match_parent"
  24.         android:layout_height="0dp"
  25.         android:layout_weight="1"
  26.         android:gravity="top"
  27.         android:hint="Enter message here"
  28.  
  29.         />
  30.  
  31.     <Button
  32.         android:layout_width="wrap_content"
  33.         android:layout_height="wrap_content"
  34.         android:text="SEND"
  35.         android:layout_gravity="center"
  36.         />
  37.    
  38. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement