Advertisement
Mujiburrohman

tambah siswa

Apr 6th, 2019
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.65 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:tools="http://schemas.android.com/tools"
  4.    android:layout_width="match_parent"
  5.    android:layout_height="match_parent"
  6.    tools:context=".insert.InsertActivity">
  7.  
  8.  
  9.     <RelativeLayout
  10.        android:layout_width="match_parent"
  11.        android:layout_height="match_parent">
  12.  
  13.  
  14.         <EditText
  15.            android:id="@+id/edt_nama"
  16.            android:layout_width="match_parent"
  17.            android:layout_height="wrap_content"
  18.            android:ems="10"
  19.            android:inputType="textPersonName"
  20.            android:hint="Name" />
  21.         <EditText
  22.            android:layout_below="@+id/edt_nama"
  23.            android:id="@+id/edt_kelas"
  24.            android:layout_width="match_parent"
  25.            android:layout_height="wrap_content"
  26.            android:ems="10"
  27.            android:inputType="textPersonName"
  28.            android:hint="Kelas" />
  29.         <EditText
  30.            android:layout_below="@+id/edt_kelas"
  31.            android:id="@+id/edt_email"
  32.            android:layout_width="match_parent"
  33.            android:layout_height="wrap_content"
  34.            android:ems="10"
  35.            android:inputType="textPersonName"
  36.            android:hint="Email" />
  37.  
  38.         <Button
  39.            android:layout_below="@+id/edt_email"
  40.            android:id="@+id/btn_tambah"
  41.            android:layout_width="match_parent"
  42.            android:layout_height="wrap_content"
  43.            android:text="Tambah" />
  44.  
  45.  
  46.     </RelativeLayout>
  47. </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement