Skip to content Skip to sidebar Skip to footer

How To Display A "zoom-able" Svg File In Android?

My question is somewhat based off of this question. Displaying SVG files in Android I have decided to display an SVG in my app, and I do so using the svg-android library. My proble

Solution 1:

That's not something that needs to necessarily be part of the SVG library. You just need to implement onTouchEvent() in your view and use a ScaleGestureListener etc to keep track of your scales and pans.

http://developer.android.com/training/gestures/scale.html

Post a Comment for "How To Display A "zoom-able" Svg File In Android?"