ImageButton event listener won't work inside ScrollView -> HorizontalScrollView
<p><code>ImageButton</code> event listener is not working.</p>

<p>Here's my code (updated):</p>

<p>XML:</p>

<pre><code>&lt;ScrollView ...&gt;
    &lt;LinearLayout
       android:orientation="vertical"
       ...
       &gt;
       &lt;HorizontalScrollView
          ...
          &gt;
          &lt;LinearLayout 
         android:orientation="horizontal"
     ...
         &gt;
             &lt;ImageButton
                 android:id="@+id/img_btn1"
     /&gt;
          &lt;/LinearLayout&gt;
        &lt;/HorizontalScrollView&gt;
    &lt;/LinearLayout&gt;
&lt;/ScrollView&gt;
</code></pre>

<p>Java code:</p>

<pre><code>public class Main extends Activity{
    ImageButton imgBtn1;
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        imgBtn1 = (ImageButton) findViewById(R.id.img_btn1);
        imgBtn1.setOnClickListener(new OnClickListener() {
            @Override
            public void onClick(View v) {
                Log.w("onClick", "ImageButton Clicked");
            }
        });
    }
}
</code></pre>

<p>This code is not working. Thanks for any help.</p>
