I have been playing around with onInterceptTouchEvent, but I still
cannot figure out how to accomplish this.  If I intercept the touch
event in my layout, the imageView that currently was handling the
touch will be sent an action_cancel.  However, as I continue to move
over another imageView, I cannot get it to start receiving the motion
events.  How do I send the touch event to whichever imageView my
finger is currently over during the motion event?

Thank you.

On Jan 8, 12:30 am, "Romain Guy (Google)" <romain...@android.com>
wrote:
> The way to do it is to have the parent of your ImageView use
> onInterceptTouchEvent().
>
> On Dec 26 2009, 8:06 pm, k_day <kevin.r....@gmail.com> wrote:
>
> > I have a custom layout that I have written that basically just
> > displays a bunch of ImageViews. I am handing onTouch events for all
> > the ImageViews in my layout. However, if a user touches one imageView
> > and then drags over another ImageView, I would like to be able to
> > handle that as well.
>
> > How would I go about capturing this behavior?
>
>
-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to