facebookarchive / Keyframes

A library for converting Adobe AE shape based animations to a data format and playing it back on Android and iOS devices.
https://facebookincubator.github.io/Keyframes/
Other
5.33k stars 302 forks source link

No Way to Tint KeyframesDrawable #72

Open sotrh opened 7 years ago

sotrh commented 7 years ago

I've tried using ImageViews tinting functions, and even Drawables tinting functions but the animation stayed the same color. I would appreciate it if tinting functionality would be added.

lozzle commented 7 years ago

I'm not too familiar with applying tints, but it looks like all the math for Porter/Duff modes are listed out in the docs: https://developer.android.com/reference/android/graphics/PorterDuff.Mode.html

We could look into adding this as an experimental feature, but don't have any plans to do so currently.