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.  
  9.  
  10.     <TableLayout
  11.        android:layout_marginBottom="15dp"
  12.        android:layout_width="match_parent"
  13.        android:layout_height="wrap_content"
  14.        android:id="@+id/tablelayoutid"
  15.        android:layout_marginTop="10dp">
  16.  
  17.         <TableRow
  18.            android:id="@+id/rowlay"
  19.            android:background="@android:color/holo_blue_light"
  20.            android:padding="5dp">
  21.             <TextView
  22.                android:layout_width="40dp"
  23.                android:layout_height="wrap_content"
  24.  
  25.                android:text="No" />
  26.             <TextView
  27.                android:layout_width="wrap_content"
  28.                android:layout_height="wrap_content"
  29.                android:layout_weight="1"
  30.  
  31.                android:text="Nama Perusahaan" />
  32.             <TextView
  33.                android:layout_width="wrap_content"
  34.                android:layout_height="wrap_content"
  35.                android:layout_weight="1"
  36.                android:text="Pemasukan" />
  37.         </TableRow>
  38. <!--
  39.        <TableRow
  40.            android:background="#ECEFF1"
  41.            android:padding="5dp">
  42.            <TextView
  43.                android:layout_width="40dp"
  44.                android:layout_height="wrap_content"
  45.                android:text="1" />
  46.            <TextView
  47.                android:layout_width="wrap_content"
  48.                android:layout_height="wrap_content"
  49.                android:layout_weight="1"
  50.                android:text="Perusahaan A" />
  51.            <TextView
  52.                android:layout_width="wrap_content"
  53.                android:layout_height="wrap_content"
  54.                android:layout_weight="1"
  55.                android:text="Masuk" />
  56.        </TableRow>
  57.  
  58.        <TableRow
  59.            android:background="#ECEFF1"
  60.            android:padding="5dp">
  61.            <TextView
  62.                android:layout_width="40dp"
  63.                android:layout_height="wrap_content"
  64.  
  65.                android:text="2" />
  66.            <TextView
  67.                android:layout_width="wrap_content"
  68.                android:layout_height="wrap_content"
  69.                android:layout_weight="1"
  70.                android:text="Perusahaan B" />
  71.            <TextView
  72.                android:layout_width="wrap_content"
  73.                android:layout_height="wrap_content"
  74.                android:layout_weight="1"
  75.                android:text="Belum Masuk" />
  76.        </TableRow>
  77.        <TableRow
  78.            android:background="#ECEFF1"
  79.            android:padding="5dp">
  80.            <TextView
  81.                android:layout_width="40dp"
  82.                android:layout_height="wrap_content"
  83.  
  84.                android:text="3" />
  85.            <TextView
  86.                android:layout_width="wrap_content"
  87.                android:layout_height="wrap_content"
  88.                android:layout_weight="1"
  89.                android:text="Perusahaan C" />
  90.            <TextView
  91.                android:layout_width="wrap_content"
  92.                android:layout_height="wrap_content"
  93.                android:layout_weight="1"
  94.                android:text="Masuk" />
  95.        </TableRow>-->
  96.     </TableLayout>
  97.  
  98.     <EditText
  99.        android:layout_width="wrap_content"
  100.        android:layout_height="wrap_content"
  101.        android:id="@+id/editTextPerusahaan"
  102.        android:hint="Nama Perusahaan"
  103.        android:layout_below="@+id/tablelayoutid"
  104.        android:layout_alignParentLeft="true"
  105.        android:layout_alignParentStart="true"
  106.        android:layout_alignParentRight="true"
  107.        android:layout_alignParentEnd="true" />
  108.  
  109.     <EditText
  110.        android:layout_width="wrap_content"
  111.        android:layout_height="wrap_content"
  112.        android:id="@+id/editTextPemasukan"
  113.        android:hint="Pemasukan"
  114.        android:layout_below="@+id/editTextPerusahaan"
  115.        android:layout_alignParentLeft="true"
  116.        android:layout_alignParentStart="true"
  117.        android:layout_alignParentRight="true"
  118.        android:layout_alignParentEnd="true" />
  119.  
  120.     <Button
  121.        android:layout_width="wrap_content"
  122.        android:layout_height="wrap_content"
  123.        android:text="add"
  124.        android:id="@+id/buttonADD"
  125.        android:layout_below="@+id/editTextPemasukan"
  126.        android:layout_alignParentRight="true"
  127.        android:layout_alignParentEnd="true" />
  128.  
  129.  
  130. </RelativeLayout>