Pixate / pixate-freestyle-android

Pixate Freestyle for Android
Apache License 2.0
254 stars 55 forks source link

SVG fails to load when an image with a similar name exists in the drawable dir #14

Open Shalom opened 10 years ago

Shalom commented 10 years ago

Freestyle will complain it cannot parse an SVG file when an image file with the same name exists in the drawable dir. For example, have an svg file names hello.svg in the assets dir, and have a png file named hello.png in the drawable dir. Try to load the svg with Freestyle.

It appears that the input-stream we get at the SVG parser is pointing to the png resource, instead of the svg one.