Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout
  3.    xmlns:android="http://schemas.android.com/apk/res/android"
  4.    android:orientation="vertical"
  5.    android:padding="20dp"
  6.    android:id="@+id/row"
  7.    android:layout_width="match_parent"
  8.    android:layout_height="match_parent"
  9.    android:background="#f5f5dc">
  10.  
  11.     <TextView
  12.        android:layout_width="wrap_content"
  13.        android:layout_height="wrap_content"
  14.        android:id="@+id/task_title"
  15.        android:text="Example"
  16.        android:textSize="20sp"
  17.        android:textColor="@color/black"
  18.        android:layout_alignParentStart="true"
  19.        android:layout_alignParentLeft="true"/>
  20.     <Button
  21.        android:layout_width="wrap_content"
  22.        android:layout_height="wrap_content"
  23.        android:id="@+id/btnDelete"
  24.        android:text="HAPUS"
  25.        android:layout_alignParentRight="true"
  26.        android:layout_alignParentEnd="true"
  27.        android:onClick="deleteTask"/>
  28.  
  29. </RelativeLayout>