Skip to content

xmindltd/androidsvg

 
 

Repository files navigation

AndroidSVG

AndroidSVG is a SVG parser and renderer for Android. It has almost complete support for the static visual elements of the SVG 1.1 and SVG 1.2 Tiny specifications (except for filters).

AndroidSVG is licensed under the Apache License v2.0.

More information, including downloads and documentation, is available at the main AndroidSVG site.

Find a bug?

Please file a bug report and include as much detail as you can. If possible, please include a sample SVG file showing the error.

If you wish to contact the author with feedback on this project, you can email me at androidsvgfeedback@gmail.com.

Using AndroidSVG in your app?

If you have found AndroidSVG useful and are using it in your project, please let me know. I'd love to hear about it!

Install

  1. Download latest aar at Github Release
  2. Move aar into libs folder
app/
├── libs/
│   └── androidsvg-aar-1.6.aar
  1. Add the following to your app/build.gradle file:
repositories {
    flatDir {
        dirs 'libs'
    }
}
dependencies {
    implementation(name:'androidsvg-aar-1.6', ext:'aar')
}

If you use coil-svg to parse svg file, remember to exclude the com.caverock package because it will conflict with our aar dependency:

api(libs.coil.svg) {
    exclude(group="com.caverock")
}

Packages

No packages published

Languages

  • HTML 57.2%
  • Java 34.4%
  • CSS 4.5%
  • JavaScript 3.9%