HorizontalScrollView Inside an AlertDialog
<p>I am adding custom views to a custom ArrayAdapter. The xml layout I am using looks like this</p>

<pre><code> &lt;LinearLayout&gt;
     &lt;HorizontalScrollView&gt;
     &lt;LinearLayout&gt;
        &lt;TextView&gt;&lt;/TextView&gt;
        &lt;TextView&gt;&lt;/TextView&gt;
        &lt;TextView&gt;&lt;/TextView&gt;
        &lt;TextView&gt;&lt;/TextView&gt;
    &lt;/LinearLayout&gt;
   &lt;/HorizontalScrollView&gt;
&lt;LinearLayout&gt;
</code></pre>

<p>I then set the adapter for my AlertDialog.Builder as my custom ArrayAdapter and also supply the OnClickListener. My dialog shows fine and I am able to scroll the list vertically as well as scroll each view horizontally. However, when I click on any of the views it never fires the OnClickListener. I have tried setting the top most LinearLayouts descendantFocusability="blocksDescendants" but that has no effect. Is there anyway to do this within the AlertDialog? I have tried even creating a custom Dialog that implements OnGestureListener but none of the gesture events ever get called either. </p>
