You can put the image in a FrameLayout, and put other transparent clickable views on top of the image. I'm not at all sure this is the best way to do this.
On Oct 28, 2:07 pm, Chris <[email protected]> wrote: > Hi All > > I have one image (it's a guitar fretboard), and I want to identify/act > on touch of events when different parts of the image are touched/ > selected. > > I can set the whole image to be clickable with setClickOnListener of > ImageView. > > Is there a way to either: > > 1. Identify the coordinates of which point has been touched? > 2. Define sub areas on the image and setClickOnListener for those > areas? > > Otherwise, I'm thinking I must implement a GridView and dissect my > image into individual images and arrange them so they look like one > large image. > > Thanks for any help! > Chris -- You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en

