You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, thanks for your updates.
I'm looking for the option to change multiple colors on the same SVG file. I
didn't see any option to do so. I didn't dived deeply into the code, so I'm not
sure if you have technical difficulties to do so or not.
I think that sending 2 arrays of colors, or a map of colors, that the search
color would be the key and the value would be the replace color would seems
logic.
Some other approach can be as in the project
https://github.com/josefpavlik/svg-android/blob/master/svgandroid/src/com/larval
abs/svgandroid/SVGParser.java which forked like you from the original
svg-android project. He did the color switch based on the id, look for "public
static SVG getSVGFromResource(Resources resources, int resId, HashMap<String,
Integer> idToColor)"
Your project looks like the most updated one, therefore I thought that it was
more logical to import those changes to your project.
By the way, there are some other changes in his project that you don't have, it
might worth trying to merge his changes to your project.
Again, thanks
Original issue reported on code.google.com by [email protected] on 31 Mar 2014 at 2:51
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 31 Mar 2014 at 2:51The text was updated successfully, but these errors were encountered: