title: Android CheckBox in ListView get focus
body: <p>I have a ListView, each item has a TextView and a CheckBox. I want that the user can select each item by pressing the row. But the checkbox also gets focus. I want to remove the focus from the checkbox when a list item is clicked.</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="72dp"
      android:orientation="horizontal"&gt;
      &lt;TextView
          android:id="@android:id/text1"
          android:layout_width="0dp"
          android:layout_height="match_parent"
          android:layout_weight="1"/&gt;
      &lt;CheckBox
          android:id="@android:id/checkbox"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_gravity="center_vertical"
          android:clickable="false"
          android:focusable="false"/&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>Screenshots when the list item is pressed:</p>
  
  <p><img src="https://i.stack.imgur.com/I4odZ.png" alt="enter image description here">
  <img src="https://i.stack.imgur.com/GHPOz.png" alt="enter image description here"></p>