4

I want to create clickable/hotspots on an imageview that when clicked trigger an animation. I have read on several post's that creating "hotspots" on an ImageView is the way to accomplish this but I have not found any working examples that show how it is done. Can someone please provide a small example of how to create a hotspot on an Imageview?

Not sure if this has any impact on the design but the images are going to be in an PagerAdapter so the image names will change when the user swipes into the next page.

Byron
  • 3,833
  • 9
  • 34
  • 39
  • is this what you mean? http://stackoverflow.com/questions/4617898/how-can-i-give-imageview-click-effect-like-a-button-in-android – Rendy Jun 29 '12 at 06:54
  • 1
    Not exactly, I do not want the entire image to be clickable only certain areas of the image. The image I have is a image of a calendar. When a user clicks on a specific region of the calendar It will trigger an animation that expands and collapses. There will only be a few clickable areas on the image. – Byron Jun 29 '12 at 07:00
  • 1
    how about this one? http://stackoverflow.com/questions/3961071/android-how-to-make-a-clickable-map-image-with-each-country-producing-a-differe – Rendy Jun 29 '12 at 08:31
  • 1
    Check answer on [Android: how to make a clickable map image with each country producing a different action?](http://stackoverflow.com/questions/3961071/android-how-to-make-a-clickable-map-image-with-each-country-producing-a-differe). – Rendy Jul 01 '12 at 07:22

0 Answers0