Advertisement


Inkscape: export xml for Android drawable resource directory


Question

I am a Newbie in Inkscape. I tried to find a solution on the internet but I didn't find anything about exporting XML for Android drawable resource directory.

I would like to be sure if this program is really unable to convert or export SVG to that XML format. If so, can I export selected icons in this specific XML format?

2016/04/29
1
8
4/29/2016 5:01:00 PM

Accepted Answer

The XML used for an Android VectorDrawable resource is specific to Android and therefor not something you will easily be able to export from any general image editing software.

You have a number of options.

You should keep in mind that VectorDrawable doesn't support all SVG features. Notably patterns, masks, gradients, images. You are basically limited to basic paths.

2016/04/28
14
4/28/2016 8:22:00 PM