title: android - listview - blocksDescendants and avoid highlighting sub elements
body: <p>To be able to select the item (the row) AND sub items on the row, I use <code>android:descendantFocusability="blocksDescendants"</code>. And I'm using the <code>onItemSelect</code>event....</p>
  
  <p>I as well use a custom background for my row.</p>
  
  <p>Now the problem is, when I touch a row, the checkbox get's it's selected background as well (the blue default background, when you select a checkbox), how do I avoid this? I only want the row itself to adjust it's background to the item state, when I touch the row.</p>
  
  <p>I'm using following row layout as a row in a listview in an adapter:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:id="@+id/rlMain"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  android:layout_alignParentBottom="true"
  android:background="@drawable/list_gradient"
  android:descendantFocusability="blocksDescendants" &gt;
  
  &lt;CheckBox
      android:id="@+id/cbSelected"
      android:layout_width="wrap_content"
      android:layout_height="match_parent"
      android:layout_alignParentLeft="true"
      android:layout_centerVertical="true" /&gt;
  
  &lt;TextView
      android:id="@+id/tvDayName"
      style="@style/text_list_info_big"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_centerVertical="true"
      android:layout_toRightOf="@+id/cbSelected"
      android:text="Tag" /&gt;
  
  &lt;RelativeLayout
      android:id="@+id/drag_handle"
      android:layout_width="wrap_content"
      android:layout_height="fill_parent"
      android:layout_alignParentRight="true"
      android:layout_centerVertical="true" &gt;
  
      &lt;ImageView
          android:layout_width="60dp"
          android:layout_height="wrap_content"
          android:layout_centerVertical="true"
          android:src="@drawable/grabber" /&gt;
  &lt;/RelativeLayout&gt;
  
  &lt;LinearLayout
      android:id="@+id/lvData"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_centerVertical="true"
      android:layout_toLeftOf="@+id/s"
      android:layout_toRightOf="@+id/tvDayName"
      android:orientation="vertical" &gt;
  
      &lt;TextView
          android:id="@+id/tvCount"
          style="@style/text_list_info"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:gravity="right"
          android:text="" /&gt;
  
      &lt;TextView
          android:id="@+id/tvInfo"
          style="@style/text_list_info"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:gravity="right"
          android:text="" /&gt;
  
      &lt;TextView
          android:id="@+id/tvInfo2"
          style="@style/text_list_info"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:gravity="right"
          android:text="" /&gt;
  &lt;/LinearLayout&gt;
  
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>PS: I know I could handle the <code>onClick</code> event of the row and the sub items in my adapter instead of using <code>onItemClick</code>, but I'm using the DragAndSortList view and doing it that way does not work with the drag&amp;drop there...</p>