On 30 Mar, 14:56, Dianne Hackborn <[email protected]> wrote:
> You can implement dispatchTouchEvent at any view on the tree where you want
> to customize dispatching.  I don't believe we have a view flag to turn off
> dispatching without actually making the view/view group invisible.
>

thanks Dianne for your reply.

i was afraid it's the only way to do such thing (quite similar to
XGrabPointer in X11)

and what about Key events?

is setDescendantFocusability() good enough to prevent from getting
KeyEvents?















>
> > thanks
>

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

Reply via email to