That is because returning true says that you consumed the event and thus the rest of the events in that motion will be dispatched to that view.
On Mon, Feb 2, 2009 at 6:30 PM, hbk723 <mark.wissmuel...@gmail.com> wrote: > > I couldn't get it either, no matter what I did on the phone or in the > emulator all I get is ACTION_DOWN, never ACTION_MOVE or ACTION_UP. > HOWEVER, changing the return statement of onTouchEvent() to "true" > fixed it for me. Frustrating! > > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---