two column

List Item with Image and 3 Rows of Text

Average: 4.3 (7 votes)
Layout source: 
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
	android:layout_width="fill_parent" android:layout_height="fill_parent">
	<ImageView android:id="@+id/icon"
		android:layout_width="90dp" android:layout_height="70dp"
		android:padding="5dp" android:layout_margin="5dp" android:background="@drawable/image_bg"
		android:layout_alignParentLeft="true" />
	<LinearLayout android:orientation="vertical"
		android:layout_toRightOf="@+id/icon"
		android:layout_width="fill_parent" android:layout_height="fill_parent"
		android:padding="5dip">
		<TextView android:id="@+id/title"
			android:layout_width="fill_parent" android:layout_height="wrap_content"
			android:textSize="16dp" android:textStyle="bold" android:singleLine="true" />
		<TextView android:id="@+id/address"
			android:layout_width="fill_parent" android:layout_height="wrap_content"
			android:textSize="14dp" android:singleLine="true" />
		<TextView android:id="@+id/distance"
			android:layout_width="fill_parent" android:layout_height="wrap_content"
			android:textSize="16dp" />
	</LinearLayout>
</RelativeLayout>
Syndicate content