That would happen if you aren't returning true from your method. On Mon, Jan 12, 2009 at 7:53 PM, [email protected] < [email protected]> wrote:
> > Hi, > > I just started trying to add (extremely simple) recognition of a > single gesture to my app. My current layout is a FrameLayout, which > contains as direct children a class that extends SurfaceView and an > AbsoluteLayout (which are siblings of each other and both fill their > parent - SurfaceView appears before AbsoluteLayout in the file). > > I found that when I override onTouchEvent from within my SurfaceView- > extending, the only event I ever got was TOUCH_DOWN. When I moved my > onTouchEvent to the activity itself, I got everything. > > I can deal with this, I'm sure, but I'd like to know what's going. Is > it that the Activity or FrameLayout is already handling the UP/MOVE/ > CANCEL events and not letting them get to my SurfaceView? Or is there > something inherent about SurfaceView that won't process such things? > > > -- Dianne Hackborn Android framework engineer [email protected] 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 [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-developers?hl=en -~----------~----~----~----~------~----~------~--~---

