Hi,

I think that what you want to do is put the image inside some container and
add onClick listener to that container. Inside the listener you get x/y
coordinates of the click and match it with the x/y coordinates of image
parts you want to be clickable. If match is found, play appropriate sound.

No buttons involved.

Best regards,
Filip Havlicek

2010/8/18 ericmahlon <[email protected]>

> I have an image that will have 5 different areas that will be
> "clickable."  Each clickable area will be invisible and play a
> different sound.  I was told not to use an absolute layout, and use a
> linear layout instead.
>
> However, I am now having an issue with placing the buttons over the
> picture. The linear layout does not allow me to position them
> correctly where they need to go.
>
> How do I properly position a button so that it is over a certain part
> of the image?
>
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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