My guess is that the reason you're seeing that effect is that your vertical list view comes before the horizontal one in the touch event sink chain. I think that once a touch event handler returns "true" no further processing on that event happens. Try making your primary view horizontal, and your secondary view vertical and see if that helps.

Failing that, you'll probably have to handle the touch events yourself.


On 10/11/2011 11:01 PM, Marcos Paulo wrote:
Hi guys,

I need to do a HorizontalScrollView inside a listview like we have
in pulse app.

I found this guy that made an implementation of a horizontal listview -> http://www.dev-smart.com/archives/34 So I took his HorizontalListView and added it to a ListView, and it worked, I could do something like pulse app but there is a problem. When I am scrolling horizontally, when I accidentally scroll vertically, the HorizontalListView stops scrolling and the VerticalListView takes place... I need to block the VerticalListView when I am scrolling horizontally and
vice-versa.

Can someone help me please? Pulse app works like that so I know it's possible.

Many Thanks,
--
*Marcos Paulo Damasceno *
Software Developer.
@_marcospaulo _
http://devforfun.com/
http://github.com/marcospaulo
<http://www.delicious.com/marcospaulo_>

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to