title: How can I set attribute onClick to a ScrollView?
body: <p>I have the following layout</p>
  
  <pre><code>&lt;ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:background="@android:color/white" &gt;
  
  &lt;LinearLayout
      android:id="@+id/answerMainFrame"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:background="@android:color/white"
      android:isScrollContainer="true"
      android:onClick="toQuestion" &gt;
  
      &lt;ImageView
          android:id="@+id/answer_img"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:adjustViewBounds="true"
          android:contentDescription="@string/question_img_cd" /&gt;
  
      &lt;TextView
          android:id="@+id/answer"
          style="@style/Question" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p></p>
  
  <p>Sometimes the <code>ScrollView</code> is too small and won't fill the whole screen but still I want to call the method <code>toQuestion()</code> clicking anywhere on the screen.</p>
  
  <p>I've tried setting <code>android:layout_height="wrap_content"</code> to the <code>LinearLayout</code> and <code>android:onClick="toQuestion"</code> to the <code>ScrollView</code> but same result.</p>