Horizontal Scrollview inside ListView item?

Posted by lanks on Stack Overflow See other posts from Stack Overflow or by lanks
Published on 2012-06-30T09:10:07Z Indexed on 2012/06/30 9:15 UTC
Read the original article Hit count: 234

Filed under:
|

I have a ListView item layout that is using a HorizontalScrollView in the center. I have used the android attribute "android:descendantFocusability="blocksDescendants"" on my parent LinearLayout so that the ListView items are still selectable.

The problem I am having is that when clicking the part of the ListView item which is the HorizontalScrollView, the ListView item click event is not called.

How can I get the click event of the HorizontalScrollView to call the ListView list item click event?

© Stack Overflow or respective owner

Related posts about android

Related posts about android-layout