

Sketch, Inkscape, Xara, Corel Draw, and many others.Īll interaction with AndroidSVG is via the SVG class. AndroidSVG has been tested with files generated by Adobe Illustrator, Sample Appįor examples of how to use the library in a real world app, check out our AndroidSVG Sample AppĪ design goal of this project is to correctly render SVG files that have been exported from the Implementation 'com.caverock:androidsvg-aar:1.4'ĭirect links to the v1.4 AAR and JAR files, and to older versions, are available on the Download page. If you haven't already, remember to add Maven Central to the repository list in you main/root adle file. See the 1.4 release notes for all the new features and bug fixes in this release. AndroidSVGĪndroidSVG is licensed under the Apache License v2.0. Visual elements of the SVG 1.1 and SVG 1.2 Tiny specifications (except for filters). It has almost complete support for the static


Using the Align and Distribute tools, align the graphics to the middle of the page.Under the Page tab, change the Width and Height to be equal e.g.The way I did it was to change the page size to a square and then placing a transparent square box around the page. It is possible to extend the drawer by code to display non-rectangular icons but I prefer to adjust the SVG icon instead. This can be seen in the screenshot of the Hawaii flag icon below. The Navigation drawer widget in Android can display vector SVG icons, but if the vector icons are non-rectangular, Android will distort the dimensions to force them into squares.
