Solved - onTouch has to return true on ACTION_DOWN otherwise no
further events are sent..


On Jul 15, 11:19 am, samothx <[email protected]> wrote:
> I am working on a TableLayout which I wantt to be able to exceed the
> width of the screnn. As I have learned ScrollViews only scroll
> vertically so I am looking at how to scroll my table manually.
> For this purpose I have created a custom view derived from TableLayout
> and overridden the onTouch method.
> Unfortunately all I receive are ACTION_DOWN events but no MOVE or UP
> events.
> So for finding out who`s fault it is I have put a ScrollView around my
> tableLayout and registered as onTouchListener on the ScrollView and
> there I see all the expected events.
> Can anybody tell me why the TableLayout does not give me these events
> or how I can convince it to do so ?
> Cheers Thomas
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to