List Item with Arrow

Average: 3.9 (9 votes)

This is a one line list item with an arrow on the right.

Layout source: 
<?xml version="1.0" encoding="utf-8"?>
 
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
	android:orientation="horizontal" android:layout_height="35dip"
	android:layout_width="fill_parent" android:gravity="center_vertical|left"
	android:paddingBottom="2dip" android:paddingLeft="4dip" style="@style/ListItemStyle">
 
	<TextView android:layout_height="wrap_content"
		android:layout_weight="1" android:textAppearance="@style/ListItemTextStyle"
		android:layout_width="fill_parent" android:id="@android:id/text1"
		android:text="List Item Text" />
 
	<ImageView android:src="@drawable/list_item_arrow"
		android:layout_weight="0" android:layout_width="wrap_content"
		android:layout_height="wrap_content" />
 
</LinearLayout>