'Setting points to click on my Map ImageView

I have a blueprint image in my app. The user will be able to click on some pre-established points and after they click on this point, a dialog will show some information.

My question is how I add the specific points in my ImageView Blueprint and the click function on these points?

EDIT 08/08/2014

My ImageView now has pinch zoom and the app will have more than 1 blueprint.

Thanks and regards!



Solution 1:[1]

The first thing that comes to mind is you could use RelativeLayout in the XML file. This allows you to layer elements on top of one another if you so choose. You could use this to position invisible buttons above the image.

With RelativeLayout, each button could be positioned using its margin attributes, and it should be fairly simple to make the button invisible by assigning the transparent color for its background and providing no text.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Phil Ringsmuth