document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2.    xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
  3.    android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
  4.    android:paddingRight="@dimen/activity_horizontal_margin"
  5.    android:paddingTop="@dimen/activity_vertical_margin"
  6.    android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity">
  7.  
  8.     <TextView
  9.        android:layout_width="wrap_content"
  10.        android:layout_height="wrap_content"
  11.        android:textAppearance="?android:attr/textAppearanceLarge"
  12.        android:text="@string/_masukan_nama_anda_"
  13.        android:id="@+id/textView"
  14.        android:layout_alignParentTop="true"
  15.        android:layout_centerHorizontal="true" />
  16.  
  17.     <EditText
  18.        android:layout_width="wrap_content"
  19.        android:layout_height="wrap_content"
  20.        android:id="@+id/txtNama"
  21.        android:inputType="text"
  22.        android:layout_below="@+id/textView"
  23.        android:layout_alignLeft="@+id/textView"
  24.        android:layout_alignStart="@+id/textView"
  25.        android:layout_alignRight="@+id/textView"
  26.        android:layout_alignEnd="@+id/textView" />
  27.  
  28.     <Button
  29.        android:layout_width="wrap_content"
  30.        android:layout_height="wrap_content"
  31.        android:text="@string/_kirim_"
  32.        android:id="@+id/btnKirim"
  33.        android:layout_below="@+id/txtNama"
  34.        android:layout_centerHorizontal="true"
  35.        android:onClick="@string/_sendData_" />
  36. </RelativeLayout>
');