Re: [android-developers] HorizontalListView inside a VerticalListView

2012-02-03 Thread Arnaud VALLAT
Hello, you need to modify HorizontalListView and do this in the onScroll method: final ViewParent viewParent = getParent(); if (viewParent != null) { viewParent.requestDisallowInterceptTouchEvent(true); } Rno -- You received this message because you are subscribed to the Google

[android-developers] HorizontalListView inside a VerticalListView

2011-10-11 Thread Marcos Paulo
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

Re: [android-developers] HorizontalListView inside a VerticalListView

2011-10-11 Thread Christopher Van Kirk
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

Re: [android-developers] HorizontalListView inside a VerticalListView

2011-10-11 Thread Marcos Paulo
Unfortunately it didn't work. I could handle the enableing and disableing of the scroll with events but how do I do this programmatically? I can't find a way to disable the scroll at programming level. -- *Marcos Paulo Damasceno* Software Developer. @_marcospaulo_ http://devforfun.com/