Tuesday, February 1, 2011

[android-developers] viewgroup and view

Hello there,

I ve the following scenario. I ve a viewgroup and two views (one draws a rectshape, an ovalshape the other). The viewgroup and the two views implements the OnTouchListener interface. But when a touch on a view, both the Viewgroup.onTouch(..) and the RectView.onTouch() and the OvalView.onTouc() have been called. My question is.. if I want to know wich view has been touched what i need to do? Could please provide me some information or example?

Thanks in advance,

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