AndroidSVG is a free library for parsing and rendering SVG files on Android.
Questions tagged [androidsvg]
38 questions
0
votes
1 answer
SVG to Bitmap to ImageView
In my android app I try to get a Bitmap-Object from a SVG-File and store it in the cache. Then it should be displayed from this bitmap in an ImageView Object. I don't get it working, either the ImageView gets a wrong density, the Picture is too…

Jokus
- 473
- 7
- 20
0
votes
2 answers
Android Volley display SVG image
In my Android App I download text-content from my website and store it in my mysql database. Now I want to download and cache images from the same website. With AndroidVolley's

Jokus
- 473
- 7
- 20
0
votes
0 answers
Android Lollipop: Webview .svg file support
I am working on application which loads data from server in webview. This data contains icons which are coming from .svg file. Problem is icons are rendering properly lower versions of Android, but in android lollipop instead of icon it shows random…

Sandip Jadhav
- 7,377
- 8
- 44
- 76
0
votes
1 answer
Set opacity to PictureDrawable
I need a piece of advice with setting opacity to a PictureDrawable object since usual setAlpha() is not implemented in PictureDrawable.
My case is pretty similar to this one (I also get my drawables from SVGs in raw resources using a library). But I…

AndroidEx
- 15,524
- 9
- 54
- 50
0
votes
1 answer
Calculate the distance between the point that the user and a element in Android
I want to render my svg in Android via the AndroidSVG library (but I'm open to use another solution). When receiving a Touchevent I want to calculate the distance between the touch event and a given svg element. Specifically a …

Christian
- 25,249
- 40
- 134
- 225
0
votes
1 answer
How to wait until the path is drawn on canvas in android?
I have different Path's in my List and I want to draw one Path on Canvas at a time but I am executing a for loop and while drawing one path another path starts to be drawn on Canvas.
What can I do to stop the for loop or wait until the path is…

Mohammed Rampurawala
- 3,033
- 2
- 22
- 32
0
votes
1 answer
Android app using cpu when app closed with back or home - animations in ViewPager
I have an app that has animations in fragments in a ViewPager. I have the ViewPager displaying on the empty option of a list fragment. The animations are NineOldAndroids ObjectAnimators combined in AnimatorSets some of which animate SVGs shown with…

TTransmit
- 3,270
- 2
- 28
- 43
-1
votes
1 answer
Image not getting displayed in imageView (TileView)
I am having issues setting my custom decoder in setDecoder() method of TileView android library. Nothing is getting displayed on the screen. I am having a svg image and converting the same into a bitmap using android svg library.Kindly help. PFB the…

DSM
- 1
- 1