title: Content in ScrollView make onClick not working in Android
body: <p>Now my xml is as follows:</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/home_page"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@drawable/bg_page"
    android:clickable="true" &gt;
    &lt;ScrollView
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:padding="10dp"
      android:clickable="true" &gt;&lt;/ScrollView&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>I bind a onClick listener on the main layout (which I need)</p>
  
  <pre><code>   RelativeLayout layout = (RelativeLayout) findViewById(R.id.home_page);
     layout.setOnClickListener(new OnClickListener(){
  
          @Override
          public void onClick(View v) {
              // TODO Auto-generated method stub
              Toast.makeText(MainActivity.this, "clicked", Toast.LENGTH_SHORT).show();
          }
  
      });
  </code></pre>
  
  <p>When I click on the ScrollView, everything seems ok and a toast will appear. But if I start to add content (here a LinearLayout) to the ScrollView, the toast will not appear on clicking.</p>
  
  <pre><code>    &lt;ScrollView
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:layout_below="@id/shadow_topbar"
      android:padding="10dp"
      android:clickable="true" &gt;
  
        &lt;LinearLayout
          android:clickable="true"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:orientation="vertical" &gt;&lt;/LinearLayout&gt;
      &lt;/ScrollView&gt;
  </code></pre>
  
  <p>How can I fix this? </p>