<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
                android:id="@+id/image_list_view_row_table_layout"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:gravity="center_vertical"
                android:minHeight="?android:attr/listPreferredItemHeight"
                android:paddingLeft="6dip"
                android:paddingRight="?android:attr/scrollbarSize" >
  <TextView
    android:id="@+id/disabled_query_text"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentLeft="true"
    android:ellipsize="end"
    android:gravity="center_vertical"
    android:paddingRight="40dip"
    android:singleLine="true"
    android:textColor="@android:color/black"
    />

  <CheckBox
    android:id="@+id/disabled_query_checkbox"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentRight="true"
    android:checked="false"
    android:gravity="right" />
</RelativeLayout>