nafiefn_10

activity_tampil_mhs.xml (crud)

Jul 9th, 2021
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.30 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.    android:layout_width="match_parent"
  6.    android:orientation="vertical"
  7.    android:layout_height="match_parent"
  8.    android:paddingLeft="16dp"
  9.    android:paddingRight="16dp"
  10.    android:paddingTop="16dp"
  11.    android:paddingBottom="16dp"
  12.    tools:context=".MainActivity">
  13.     <TextView
  14.        android:layout_width="wrap_content"
  15.        android:layout_height="wrap_content"
  16.        android:text="ID Mahasiswa :" />
  17.     <EditText
  18.        android:layout_width="match_parent"
  19.        android:layout_height="wrap_content"
  20.        android:id="@+id/editTextId" />
  21.     <TextView
  22.        android:layout_width="wrap_content"
  23.        android:layout_height="wrap_content"
  24.        android:text="Nama Mahasiswa :" />
  25.     <EditText
  26.        android:layout_width="match_parent"
  27.        android:layout_height="wrap_content"
  28.        android:id="@+id/editTextName" />
  29.     <TextView
  30.        android:layout_width="wrap_content"
  31.        android:layout_height="wrap_content"
  32.        android:text="N R P :" />
  33.     <EditText
  34.        android:layout_width="match_parent"
  35.        android:layout_height="wrap_content"
  36.        android:id="@+id/editTextNRP" />
  37.     <TextView
  38.        android:layout_width="wrap_content"
  39.        android:layout_height="wrap_content"
  40.        android:text="Kelas :" />
  41.     <Spinner
  42.        android:id="@+id/spinnerKelas2"
  43.        android:spinnerMode="dropdown"
  44.        android:layout_width="match_parent"
  45.        android:layout_height="wrap_content" />
  46.     <TextView
  47.        android:layout_width="wrap_content"
  48.        android:layout_height="wrap_content"
  49.        android:text="Blog URL :" />
  50.     <EditText
  51.        android:layout_width="match_parent"
  52.        android:layout_height="wrap_content"
  53.        android:id="@+id/editTextBlog" />
  54.     <Button
  55.        android:layout_width="match_parent"
  56.        android:layout_height="wrap_content"
  57.        android:text="Update Data Mahasiswa"
  58.        android:id="@+id/buttonUpdate" />
  59.     <Button
  60.        android:layout_width="match_parent"
  61.        android:layout_height="wrap_content"
  62.        android:text="Hapus Data"
  63.        android:id="@+id/buttonDelete" />
  64. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment