Android Question Create imagem with mapped points

fabioferreiracs

Member
Licensed User
Longtime User
Hi,

I need to create a program as follows: Example attached.

a large image , i need to use scrollview to roll it , and some fixed points in this image where by clicking opens a popup, (red squares). when you scroll the image, the points also accompany

What would be the best alternative to make this? What control use to image and how create this points to click?

Help me.

Duvida_B4_A.png
 

strat

Active Member
Licensed User
Longtime User
I don't know it's the best way or not but this is the way I know.

First, create your picture as you wish and save it.
Start to design your screen. Create a scrollview on main layout. Scrollview's and the picture's dimension should be equal.
Draw picture bitmap to scrollview's panel.
Use array to save fixed points. In scrollview Touch action, check click point in order to equal one of the fixed points. To check scrollview touch position use scrollview Offset points.
 
Upvote 0
Top