Use inkscape for android vector images4/14/2024 That's perfectly valid SVG, and most render programs like browsers have no problem with it. Inkscape's default save format is "Inkscape SVG", which is a normal SVG file that is compliant with the SVG 1.1 standard, along with metadata and additional information used by Inkscape in the inkscape namespace. Related question about SVG-to-VectorDrawable conversion: Inkscape export XML for Android drawable resource directory So you'll need to do save and explicitly select plain SVG each time. ![]() Note: As of Inkscape 0.91, if you save as "Plain SVG" and then just do a normal "Save", it will save again as an Inkscape SVG. If you want to follow my attempt at fixing the problem, here you can download my SVG file: Now here's my question: How to make sure I only use the proper attributes when creating an icon and how can I make my icon work on android? ![]() Then I looked for some solutions on the web and found the following website: There I could convert the icon but now I can only use it android 7.0 and higher because I used the attribute 'fill-rule:evenodd'. I firts tried to somehow convert the path to an object within Inkscape, but this didn't worked. I'm creating the icons using Inkscape and when I try to convert them into a VectorDrawable using Android Studio, it returns an error about not supporting certain things: line 22 is not supported line 139 We don't scale the stroke width! line 144 We don't scale the stroke width! line 150 We don't scale the stroke width! line 156 We don't scale the stroke width! line 162 We don't scale the stroke width! line 168 We don't scale the stroke width! line 174 We don't scale the stroke width! ![]() I started to learn how the create them because I need some custom icons for an Android app I'm currently working on.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |