Sunday, February 7, 2010

[android-developers] Re: How to send motion Event down to another activity

> 1. Whether the event can be send down to any thing behind the current
> activity.
No, you can't.
On the Android platform, you define an Activity's UI using a hierarchy
of View and ViewGroup nodes.
Home & your activity are different activity, they have their own view
hierarchy.
Key events are always delivered to the View currently in focus. They
are dispatched starting from the top of the View hierarchy, and then
down, until they reach the appropriate destination.
But not the view of other activity.
http://developer.android.com/guide/topics/ui/ui-events.html

Guobin

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate