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:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:orientation="vertical"
- android:layout_height="match_parent"
- android:paddingLeft="16dp"
- android:paddingRight="16dp"
- android:paddingTop="16dp"
- android:paddingBottom="16dp"
- tools:context=".MainActivity">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="ID Mahasiswa :" />
- <EditText
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:id="@+id/editTextId" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Nama Mahasiswa :" />
- <EditText
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:id="@+id/editTextName" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="N R P :" />
- <EditText
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:id="@+id/editTextNRP" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Kelas :" />
- <Spinner
- android:id="@+id/spinnerKelas2"
- android:spinnerMode="dropdown"
- android:layout_width="match_parent"
- android:layout_height="wrap_content" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Blog URL :" />
- <EditText
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:id="@+id/editTextBlog" />
- <Button
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Update Data Mahasiswa"
- android:id="@+id/buttonUpdate" />
- <Button
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Hapus Data"
- android:id="@+id/buttonDelete" />
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment