uber / cyborg

Display Android Vectordrawables on iOS.
Apache License 2.0
302 stars 19 forks source link

Allow Tint Color to be associated with a VectorDrawable #65

Closed benpious closed 5 years ago

benpious commented 5 years ago

This is useful if a user is working with a predefined library of Drawables, such as our brand icons, and wishes to tint one in a different way before passing into a UI component that doesn't take a tint color with the Drawable. It doesn't make sense to add a new drawable only for the purposes of having a new color.

This also matches the API available in Android, though it's slightly complicated by the fact that in Android there's no such thing as a VectorDrawableView; The VectorDrawable is itself a View.

CLAassistant commented 5 years ago

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.