Advertisement
Guest User

Untitled

a guest
Feb 24th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.36 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    android:layout_width="match_parent"
  5.    android:layout_height="match_parent"
  6.    android:weightSum="1">
  7.  
  8.     <RelativeLayout
  9.        android:layout_width="match_parent"
  10.        android:layout_height="wrap_content"
  11.        android:layout_alignParentStart="true"
  12.        android:layout_alignParentTop="true"
  13.        android:paddingBottom="10dp">
  14.  
  15.         <TextView
  16.            android:id="@+id/listName"
  17.            android:layout_width="212dp"
  18.            android:layout_height="wrap_content"
  19.            android:layout_alignParentStart="true"
  20.            android:layout_centerVertical="true"
  21.            android:layout_marginStart="5dp"
  22.            android:text="TextView"
  23.            android:textColor="?android:attr/textColorPrimary"
  24.            android:textSize="22sp" />
  25.  
  26.         <ImageView
  27.            android:id="@+id/deleteButton"
  28.            android:layout_width="30dp"
  29.            android:layout_height="40dp"
  30.            android:layout_alignParentEnd="true"
  31.            android:layout_centerVertical="true"
  32.            android:layout_marginEnd="5dp"
  33.            android:clickable="true"
  34.            app:srcCompat="@drawable/delete" />
  35.     </RelativeLayout>
  36.  
  37. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement