Advertisement
Guest User

activity_update_biodata.xml

a guest
Mar 27th, 2016
83,498
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 3.94 KB | None | 0 0
  1. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2.                 xmlns:tools="http://schemas.android.com/tools"
  3.                 android:layout_width="match_parent"
  4.                 android:layout_height="match_parent"
  5.                 android:paddingBottom="@dimen/activity_vertical_margin"
  6.                 android:paddingLeft="@dimen/activity_horizontal_margin"
  7.                 android:paddingRight="@dimen/activity_horizontal_margin"
  8.                 android:paddingTop="@dimen/activity_vertical_margin"
  9.                 tools:context=".UpdateBiodata" >
  10.  
  11.     <EditText
  12.         android:id="@+id/editText1"
  13.         android:layout_width="match_parent"
  14.         android:layout_height="wrap_content"
  15.         android:layout_alignLeft="@+id/textView1"
  16.         android:layout_below="@+id/textView1" >
  17.  
  18.         <requestFocus />
  19.     </EditText>
  20.  
  21.     <TextView
  22.         android:id="@+id/textView1"
  23.         android:layout_width="wrap_content"
  24.         android:layout_height="wrap_content"
  25.         android:layout_alignParentLeft="true"
  26.         android:layout_alignParentTop="true"
  27.         android:text="Nomor" />
  28.  
  29.     <TextView
  30.         android:id="@+id/textView2"
  31.         android:layout_width="wrap_content"
  32.         android:layout_height="wrap_content"
  33.         android:layout_alignLeft="@+id/editText1"
  34.         android:layout_below="@+id/editText1"
  35.         android:layout_marginTop="10dp"
  36.         android:text="Nama" />
  37.  
  38.     <EditText
  39.         android:id="@+id/editText2"
  40.         android:layout_width="match_parent"
  41.         android:layout_height="wrap_content"
  42.         android:layout_alignLeft="@+id/textView2"
  43.         android:layout_below="@+id/textView2" />
  44.  
  45.     <TextView
  46.         android:id="@+id/textView3"
  47.         android:layout_width="wrap_content"
  48.         android:layout_height="wrap_content"
  49.         android:layout_alignLeft="@+id/editText2"
  50.         android:layout_below="@+id/editText2"
  51.         android:layout_marginTop="10dp"
  52.         android:text="Tanggal Lahir" />
  53.  
  54.     <EditText
  55.         android:id="@+id/editText3"
  56.         android:layout_width="match_parent"
  57.         android:layout_height="wrap_content"
  58.         android:layout_alignLeft="@+id/textView3"
  59.         android:layout_below="@+id/textView3" />
  60.  
  61.     <TextView
  62.         android:id="@+id/textView4"
  63.         android:layout_width="wrap_content"
  64.         android:layout_height="wrap_content"
  65.         android:layout_alignLeft="@+id/editText3"
  66.         android:layout_below="@+id/editText3"
  67.         android:layout_marginTop="10dp"
  68.         android:text="Jenis Kelamin" />
  69.  
  70.     <EditText
  71.         android:id="@+id/editText4"
  72.         android:layout_width="match_parent"
  73.         android:layout_height="wrap_content"
  74.         android:layout_alignLeft="@+id/textView4"
  75.         android:layout_below="@+id/textView4" />
  76.  
  77.     <TextView
  78.         android:id="@+id/textView5"
  79.         android:layout_width="wrap_content"
  80.         android:layout_height="wrap_content"
  81.         android:layout_alignLeft="@+id/editText4"
  82.         android:layout_below="@+id/editText4"
  83.         android:layout_marginTop="10dp"
  84.         android:text="Alamat" />
  85.  
  86.     <EditText
  87.         android:id="@+id/editText5"
  88.         android:layout_width="match_parent"
  89.         android:layout_height="wrap_content"
  90.         android:layout_alignLeft="@+id/textView5"
  91.         android:layout_below="@+id/textView5" />
  92.  
  93.     <Button
  94.         android:id="@+id/button1"
  95.         android:layout_width="wrap_content"
  96.         android:layout_height="wrap_content"
  97.         android:layout_alignLeft="@+id/editText5"
  98.         android:layout_alignParentBottom="true"
  99.         android:text="Update" />
  100.  
  101.     <Button
  102.         android:id="@+id/button2"
  103.         android:layout_width="wrap_content"
  104.         android:layout_height="wrap_content"
  105.         android:layout_alignBaseline="@+id/button1"
  106.         android:layout_alignBottom="@+id/button1"
  107.         android:layout_toRightOf="@+id/textView4"
  108.         android:text="Back" />
  109.  
  110. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement