Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout 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"
- app:layout_behavior="@string/appbar_scrolling_view_behavior"
- tools:context="com.fachryansyah.tabungan.MainActivity"
- tools:showIn="@layout/app_bar_main">
- <!--<ImageView-->
- <!--android:src="@mipmap/ic_launcher"-->
- <!--android:layout_width="match_parent"-->
- <!--android:layout_height="200dp" />-->
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <RelativeLayout
- android:padding="16dp"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <TextView
- android:id="@+id/lblNama"
- android:textSize="20sp"
- android:text="Nama Peserta Didik"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- <EditText
- android:id="@+id/txtNama"
- android:layout_below="@id/lblNama"
- android:layout_width="match_parent"
- android:layout_height="wrap_content" />
- <TextView
- android:id="@+id/lblTanggal"
- android:text="Tanggal lahir"
- android:layout_marginTop="12dp"
- android:layout_marginBottom="6dp"
- android:textSize="20sp"
- android:layout_below="@id/txtNama"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- <DatePicker
- android:datePickerMode="calendar"
- android:id="@+id/dateTanggal"
- android:layout_below="@id/lblTanggal"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"></DatePicker>
- <TextView
- android:id="@+id/lblNisn"
- android:textSize="20sp"
- android:text="NIPD/NISN"
- android:layout_below="@id/dateTanggal"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- <EditText
- android:id="@+id/txtNisn"
- android:layout_below="@id/lblNisn"
- android:layout_width="match_parent"
- android:layout_height="wrap_content" />
- <TextView
- android:id="@+id/lblKelas"
- android:layout_below="@id/txtNisn"
- android:textSize="20sp"
- android:text="Kelas / Tingkat"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- <EditText
- android:id="@+id/txtKelas"
- android:layout_below="@id/lblKelas"
- android:layout_width="match_parent"
- android:layout_height="wrap_content" />
- <TextView
- android:id="@+id/lblAlamat"
- android:layout_below="@id/txtKelas"
- android:text="Alamat"
- android:textSize="20sp"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- <EditText
- android:id="@+id/txtAlamat"
- android:layout_below="@id/lblAlamat"
- android:layout_width="match_parent"
- android:layout_height="wrap_content" />
- </RelativeLayout>
- </ScrollView>
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement