Activity_main

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
 xmlns:app="http://schemas.android.com/apk/res-auto"
 xmlns:tools="http://schemas.android.com/tools"
 android:layout_width="match_parent"
 android:layout_height="match_parent"
 android:orientation="vertical"
 android:padding="16dp"
 tools:context="com.example.desainformdata.MainActivity">
 <com.rengwuxian.materialedittext.MaterialEditText
 android:id="@+id/input_nama"
 android:layout_width="match_parent"
 android:layout_height="wrap_content"
 android:hint="Nama"
 android:inputType="textPersonName"
 android:textSize="16sp"
 app:met_floatingLabel="highlight" />
 <com.rengwuxian.materialedittext.MaterialEditText
 android:id="@+id/input_npm"
 android:layout_width="match_parent"
 android:layout_height="wrap_content"
 android:hint="Nomor Pokok Mahasiswa"
 android:inputType="text"
 android:textSize="16sp"
 app:met_floatingLabel="highlight" />
 <com.rengwuxian.materialedittext.MaterialEditText
 android:id="@+id/input_jurus"
 android:layout_width="match_parent"
 android:layout_height="wrap_content"
 android:hint="Jurusan"
 android:inputType="text"
 android:textSize="16sp"
 app:met_floatingLabel="highlight"
 app:met_maxCharacters="10" />
 <com.rengwuxian.materialedittext.MaterialEditText
 android:id="@+id/input_kelas"
 android:layout_width="match_parent"
 android:layout_height="wrap_content"
 android:hint="Kelas"
 android:inputType="text"
 android:textSize="16sp"
 app:met_floatingLabel="highlight" />
 <com.rengwuxian.materialedittext.MaterialEditText
 android:id="@+id/input_institusi"
 android:layout_width="match_parent"
android:layout_height="wrap_content"
 android:hint="Institusi"
 android:inputType="textCapWords"
 android:textSize="16sp"
 app:met_floatingLabel="highlight" />
 
<Button
 android:id="@+id/simpan_button"
 android:layout_width="match_parent"
 android:layout_height="wrap_content"
 android:text="simpan"
 android:textAllCaps="true"
 android:textSize="16sp" 
/
>
 
<LinearLayout
 android:layout_width="match_parent"
 android:layout_height="180dp"
 android:background="#eceff1"
 android:orientation="horizontal"
>
 
<LinearLayout
 android:layout_width="wrap_content"
 android:layout_height="match_parent"
 android:orientation="vertical"
 android:layout_marginLeft="8dp"
 android:layout_marginTop="8dp"
>
 
<TextView
 android:layout_width="wrap_content"
 android:layout_height="wrap_content"
 android:layout_weight="1"
 android:text="Nama" />
 
<TextView
 android:layout_width="wrap_content"
 android:layout_height="wrap_content"
 android:layout_weight="1"
 android:text="NPM" />
 
<TextView
 android:layout_width="wrap_content"
 android:layout_height="wrap_content"
 android:layout_weight="1"
 android:text="Jurusan" />
 
<TextView
 android:layout_width="wrap_content"
 android:layout_height="wrap_content"
 android:layout_weight="1"
 android:text="Kelas" />
 
<TextView
 android:layout_width="wrap_content"
 android:layout_height="wrap_content"
 android:layout_weight="1"
android:text="Institusi" />
 </LinearLayout
>
 <!-- Menambahkan kode dibawah ini--
>
 
<LinearLayout
 android:layout_width="wrap_content"
 android:layout_height="match_parent"
 android:orientation="vertical"
 android:layout_marginLeft="8dp"
 android:layout_marginTop="8dp"
>
 
<TextView
 android:layout_width="wrap_content"
 android:layout_height="wrap_content"
 android:layout_weight="1"
 android:text=":" />
 
<TextView
 android:layout_width="wrap_content"
 android:layout_height="wrap_content"
 android:layout_weight="1"
 android:text=":" />
 
<TextView
 android:layout_width="wrap_content"
 android:layout_height="wrap_content"
 android:layout_weight="1"
 android:text=":" />
 
<TextView
 android:layout_width="wrap_content"
 android:layout_height="wrap_content"
 android:layout_weight="1"
 android:text=":" />
 
<TextView
 android:layout_width="wrap_content"
 android:layout_height="wrap_content"
 android:layout_weight="1"
 android:text=":" />
 </LinearLayout
>
 
<LinearLayout
 android:layout_width="match_parent"
 android:layout_height="match_parent"
 android:orientation="vertical"
 android:layout_marginLeft="8dp"
 android:layout_marginTop="8dp"
>
 
<TextView
 android:id="@+id/hasil_nama"
 android:layout_width="match_parent"
 android:layout_height="wrap_content"
 android:layout_weight="1" />
<TextView
 android:id="@+id/hasil_npm"
 android:layout_width="match_parent"
 android:layout_height="wrap_content"
 android:layout_weight="1" />
 <TextView
 android:id="@+id/hasil_jurus"
 android:layout_width="match_parent"
 android:layout_height="wrap_content"
 android:layout_weight="1" />
 <TextView
 android:id="@+id/hasil_kelas"
 android:layout_width="match_parent"
 android:layout_height="wrap_content"
 android:layout_weight="1" />
 <TextView
 android:id="@+id/hasil_institusi"
 android:layout_width="match_parent"
 android:layout_height="wrap_content"
 android:layout_weight="1" />
 </LinearLayout>
 </LinearLayout>
</LinearLayout>

Tidak ada komentar:

Posting Komentar