Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:paddingBottom="@dimen/activity_vertical_margin"
- android:paddingLeft="@dimen/activity_horizontal_margin"
- android:paddingRight="@dimen/activity_horizontal_margin"
- android:paddingTop="@dimen/activity_vertical_margin"
- tools:context=".BuatBiodata" >
- <EditText
- android:id="@+id/editText1"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignLeft="@+id/textView1"
- android:layout_below="@+id/textView1"
- android:inputType="number"
- android:maxLength="10">
- <requestFocus />
- </EditText>
- <TextView
- android:id="@+id/textView1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_alignParentTop="true"
- android:text="Nomor" />
- <TextView
- android:id="@+id/textView2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignLeft="@+id/editText1"
- android:layout_below="@+id/editText1"
- android:layout_marginTop="10dp"
- android:text="Nama" />
- <EditText
- android:id="@+id/editText2"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignLeft="@+id/textView2"
- android:layout_below="@+id/textView2"
- android:inputType="text"
- android:maxLength="20"/>
- <TextView
- android:id="@+id/textView3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignLeft="@+id/editText2"
- android:layout_below="@+id/editText2"
- android:layout_marginTop="10dp"
- android:text="Tanggal Lahir" />
- <EditText
- android:id="@+id/editText3"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignLeft="@+id/textView3"
- android:layout_below="@+id/textView3"
- android:inputType="date"/>
- <TextView
- android:id="@+id/textView4"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignLeft="@+id/editText3"
- android:layout_below="@+id/editText3"
- android:layout_marginTop="10dp"
- android:text="Jenis Kelamin" />
- <EditText
- android:id="@+id/editText4"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignLeft="@+id/textView4"
- android:layout_below="@+id/textView4"
- android:inputType="text"
- android:maxLength="1"
- android:hint="L atau P"/>
- <TextView
- android:id="@+id/textView5"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignLeft="@+id/editText4"
- android:layout_below="@+id/editText4"
- android:layout_marginTop="10dp"
- android:text="Alamat" />
- <EditText
- android:id="@+id/editText5"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignLeft="@+id/textView5"
- android:layout_below="@+id/textView5"
- android:maxLength="100"
- android:inputType="text"/>
- <Button
- android:id="@+id/button1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignLeft="@+id/editText5"
- android:layout_alignParentBottom="true"
- style="?android:attr/borderlessButtonStyle"
- android:drawableLeft="@drawable/ic_done"
- android:text="Simpan" />
- <Button
- android:id="@+id/button2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Kembali"
- style="?android:attr/borderlessButtonStyle"
- android:drawableLeft="@drawable/ic_arrow"
- android:layout_alignParentBottom="true"
- android:layout_alignRight="@+id/editText5"
- android:layout_alignEnd="@+id/editText5" />
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement