I'm implementing a SurfaceView then laying various Bitmaps in the
onDraw event.  I'm curious of a best practice in regards to detecting
if one of the Bitmaps has been touched by the user?

I know I can override the onTouchEvent and capture the screen press
there, but I'm if I should implement logic there to see if I touched a
bitmap, or if there's a better way of laying my image resources on the
SurfaceView that would expose the event in a more efficient way?

I have a background image, and and several images on top of that
(pngs).. basically I'm looking for the best way to tell if any of the
images on top have been touched with the ACTION_DOWN motion event.

Thanks.
--~--~---------~--~----~------------~-------~--~----~
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