Skip to content

Instantly share code, notes, and snippets.

@kundansviet
Created February 21, 2016 12:28
Show Gist options
  • Save kundansviet/835baaf4be7203856f49 to your computer and use it in GitHub Desktop.
Save kundansviet/835baaf4be7203856f49 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginTop="16dp"
android:background="@android:color/holo_orange_light"
android:orientation="vertical">
<TextView
android:id="@+id/tv_name"
android:layout_centerVertical="true"
android:layout_margin="16dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<ImageView
android:id="@+id/iv_delete"
android:src="@drawable/delete"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="16dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment