title: OnItemClickListener doesn't work with ListView item containing button
body: <p>I have <code>ListView</code> with custom <code>Adapter</code> which supplies <code>View</code> to <code>ListView</code> in this way:</p>
  
  <pre><code>   public View getView(int position, View convertView, ViewGroup parent)
     {
          RelativeLayout.LayoutParams lineParams;
          RelativeLayout line=new RelativeLayout(context);
  
          TextView tv=new TextView(context);
          tv.setText("Text in postion="+i);
          lineParams=new RelativeLayout.LayoutParams(LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT);
          lineParams.addRule(RelativeLayout.ALIGN_PARENT_LEFT);
          line.addView(tv, lineParams);
          lineParams.addRule(RelativeLayout.CENTER_IN_PARENT);
  
          //checkbox
          CheckBox checkBox=new CheckBox(context);
          lineParams=new RelativeLayout.LayoutParams(LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT);
          lineParams.addRule(RelativeLayout.ALIGN_PARENT_RIGHT);
          lineParams.addRule(RelativeLayout.CENTER_IN_PARENT);
          line.addView(checkBox, lineParams);
          return line;
      }
  </code></pre>
  
  <p>And somewhere inside <code>ListView</code> there's <code>setOnItemClickListener()</code>, which should intercept item clicking events. My problem that, whenever I try to add checkbox to item - I don't get any responces from my <code>ListView</code>. If I skip <code>CheckBox</code> or any other <code>Button</code> it works. </p>
  
  <p>I am really stuck with this problem, I have tried all kind of Layouts, aligning, wrapping and so on - useless. Looks like <code>CheckBox</code> interferes <code>ListView</code> item click events.</p>
  
  <p>Any ideas how to overcome?</p>