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? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

