Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

android.content.res.Resources$NotFoundException: Can't find ColorStateList from drawable #64

Open
tachyonlabs opened this issue Mar 7, 2020 · 2 comments

Comments

@tachyonlabs
Copy link

I'm getting a crash just inflating the layout with a com.richpath.RichPathView and my VectorDrawable (which comes up fine and correctly in an ImageView). I had a similar problem when I had tried https://github.com/devendroid/VectorChildFinder right beforehand -- an issue there said that it happened with VectorDrawables containing gradients, which mine has, so maybe your library has the same problem.

@tarek360
Copy link
Owner

tarek360 commented Jun 10, 2020

I think it crashes for the same reason, RichPath doesn't support gradients so far!

Ideally, it shouldn't crash for a non-supported feature, it should print a warning in debug mode to make the developer aware of that!

Let me know If you want to contribute, I will be more than happy to point you to the right place in the code. it should be done in two steps, parsing the gradient XML tag, then render it on the canvas!

@buidiemnhi
Copy link

is there anyone contribute in this feature? if not i can give my hand

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants