Advertisement
JonesRandom

p3_main.xml

Jan 29th, 2017
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.51 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:tools="http://schemas.android.com/tools"
  4.    android:id="@+id/activity_main"
  5.    android:layout_width="match_parent"
  6.    android:layout_height="match_parent"
  7.    android:layout_margin="@dimen/activity_horizontal_margin"
  8.    android:orientation="vertical">
  9.  
  10.     <TextView
  11.        android:layout_width="wrap_content"
  12.        android:layout_height="wrap_content"
  13.        android:text="Masukan Nama"
  14.        android:textSize="15sp" />
  15.  
  16.     <EditText
  17.        android:id="@+id/inputNama"
  18.        android:layout_width="match_parent"
  19.        android:layout_height="wrap_content"
  20.        android:hint="Nama"
  21.        android:inputType="textNoSuggestions"
  22.        android:maxLines="1" />
  23.  
  24.     <TextView
  25.        android:layout_width="wrap_content"
  26.        android:layout_height="wrap_content"
  27.        android:layout_marginTop="15dp"
  28.        android:text="Masukan Alamat"
  29.        android:textSize="15sp" />
  30.  
  31.     <EditText
  32.        android:id="@+id/inputAlamat"
  33.        android:layout_width="match_parent"
  34.        android:layout_height="wrap_content"
  35.        android:hint="Alamat"
  36.        android:inputType="textNoSuggestions"
  37.        android:maxLines="1" />
  38.  
  39.     <Button
  40.        android:id="@+id/kirimData"
  41.        android:layout_width="match_parent"
  42.        android:layout_height="wrap_content"
  43.        android:layout_marginTop="10dp"
  44.        android:text="kirim data" />
  45.  
  46.  
  47. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement