I’ve a running graph library developed with onDraw plotting the graph using canvas.drawLine methods. In onTouch I’ve implemented scroll functionality.
Now my customer wants Zoom/Pinch. Is it possible to perform zoom/pinch on such a view without redrawing for these operations?
What is the best way to implement this?
Now next..
How can I display Zooming indicators for this??
I’ve some how managed to display scale of zoom (scaleFactor * 100). How will I show a zooming indicator? I can display static images using canvas.drawBitmap. But is there a more better way?
Any help is appreciated
Add a pinch zoom capability to the graph:
How to implement pinch zoom refer : android pinch zoom