Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:padding="20dp"
- android:id="@+id/row"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="#f5f5dc">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/task_title"
- android:text="Example"
- android:textSize="20sp"
- android:textColor="@color/black"
- android:layout_alignParentStart="true"
- android:layout_alignParentLeft="true"/>
- <Button
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/btnDelete"
- android:text="HAPUS"
- android:layout_alignParentRight="true"
- android:layout_alignParentEnd="true"
- android:onClick="deleteTask"/>
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment