title: Multi-touch in ListView containing EditText and CheckBox on each row item (Android)
body: <p>I have a ListView where each row item has EditText and CheckBox elements. You can see the sample image below.</p>
  
  <p><img src="https://i.stack.imgur.com/RGaci.png" alt="enter image description here"> 
  <strong>What I intend to do is</strong>  </p>
  
  <p>I want to implement both OnItemClickListener (for ListView) and OnClickListener (for EditText and CheckBox) i.e. I want Task A to be done on clicking the ListView items (outside EditText and CheckBox) and I also want to do individual tasks on clicking EditText and CheckBox respectively.</p>
  
  <p><strong>My Problem</strong>  </p>
  
  <p>If no attribute is set on ListView, EditText or CheckBox to control the focus, then the default behaviour is that ListView row items won't listen to item click, but EditText and CheckBox are getting the focus  </p>
  
  <p>On playing around with these attributes and there values (eg - )   </p>
  
  <pre><code>// to ListView
  android:descendantFocusability="blocksDescendants" 
  // to EditText and CheckBox
  android:focusable="false"
  android:focusableInTouchMode="true"   
  </code></pre>
  
  <p>Listeners are working either for ListView or for the EditText. CheckBox click listener seems to work in all cases (strange). I am new to this and any kind of help would be appreciated. I cannot post the source right now, for that please bear with me. Any solution, suggestion or explanation would do a great help.</p>