I suppose one way to do this is to capture touch events at the layout
level, and then loop through all the layouts to see if an imageview is
under that point, though that sounds inefficient.

Is there any better way to find which view is at a given point?

Also, is it true that any touch event on an imageview will always
start with an ACTION_DOWN? I would like to switch focus to another
view when a finger is dragged over it.

On Dec 26, 11:06 pm, k_day <[email protected]> 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 [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