Page 1 of 1

Add support for android's VectorDrawable xml format

Posted: 2016-12-20T11:18:58-07:00
by fttpic
You need to decompile the apk using "APK Easy Tool" or similar.
The attached file belongs to:

Android application:
package:/system/priv-app/LGSystemUI/LGSystemUI.apk=com.android.systemui

Resource file inside the apk once decompiled:
res/drawable-nodpi-v4/icon.xml

More information:
https://developer.android.com/reference ... wable.html
https://developer.android.com/studio/wr ... tudio.html
http://stackoverflow.com/questions/3309 ... r-drawable

XML example file:
https://bugzilla.gnome.org/attachment.cgi?id=342173

Re: Add support for android's VectorDrawable xml format

Posted: 2016-12-20T12:24:50-07:00
by dlemstra
I moved your topic to the developers part because you are asking for an extra feature. We don't consider this a bug.

Re: Add support for android's VectorDrawable xml format

Posted: 2016-12-20T12:26:36-07:00
by fttpic
Thanks I posted on bugs since there's no request feature subforum.

Re: Add support for android's VectorDrawable xml format

Posted: 2016-12-20T18:32:06-07:00
by magick
Can you track down several more Android XML files and their corresponding rendering and post a URL to download them here. We'll use the vector set to verify our vector drawable coder is working properly.

What is the usual file extension for an Android vector drawable?

Re: Add support for android's VectorDrawable xml format

Posted: 2017-04-17T06:44:43-07:00
by fttpic
More information:
This web application converts SVG to VectorDrawable, you just need to support both formats:
-> https://ozodrukh.github.io/Svg2MrVector/
-> https://github.com/inloop/svg2android
-> https://github.com/telly/MrVector

Tried to visualize several xml files as pictures with Android Studio, but it's much more difficult that it should.

Re: Add support for android's VectorDrawable xml format

Posted: 2017-11-10T03:09:54-07:00
by jfinkhaeuser
I would love to know what the status of this is!