Hey Guys,

I am looking for some guidance around the best method of carrying out
a "hit test" style solution.

Lets say imageView that's a square in the centre of the the screen the
square is 10x10. I want to segments that square into 4 equal segments.
Now when the user hits the top left segment I want to show a dialog of
"top left" the same for bottom left top right and bottom right.

What is the best way of translating this screen point "hit" to an
action? I see on click does not have a point. I am looking for
something like the onTap method for maps overlay I guess. This will
then progress to detecting the same for triangles but I guess this
will then just become some maths.

Any help appreciated.

Tom

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