<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="?android:attr/listPreferredItemHeight"
    android:gravity="left"
    android:orientation="horizontal" >

    <ImageView
        android:id="@+id/api_apps_adapter_item_icon"
        android:layout_width="48dp"
        android:layout_height="48dp"
        android:layout_alignParentBottom="true"
        android:layout_alignParentTop="true"
        android:layout_marginLeft="8dp"
        android:layout_marginRight="8dp"
        android:src="@drawable/icon" />

    <TextView
        android:id="@+id/api_apps_adapter_item_name"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerVertical="true"
        android:layout_toRightOf="@+id/api_apps_adapter_item_icon"
        android:gravity="center_vertical"
        android:orientation="vertical"
        android:text="Set in-code!"
        android:textAppearance="?android:attr/textAppearanceMedium" />

</RelativeLayout>