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="Nama Mahasiswa :"
- android:textSize="18dp"/>
- <EditText
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:id="@+id/editTextName"
- android:hint="Masukan Nama Anda"
- android:inputType="text"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="N R P :"
- android:textSize="18dp"/>
- <EditText
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:id="@+id/editTextNRP"
- android:hint="Masukan NRP"
- android:inputType="number"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Kelas :"
- android:textSize="18dp" />
- <Spinner
- android:id="@+id/spinnerkelas"
- 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 :"
- android:textSize="18dp"/>
- <EditText
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:id="@+id/editTextBlog"
- android:hint="Input Link URL Blog"
- android:inputType="text"/>
- <Button
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Tambah Data Mahasiswa"
- android:id="@+id/buttonAdd" />
- <Button
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Daftar Mahasiswa"
- android:id="@+id/buttonView" />
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment