Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to apply ColorFilter to individual Path components #17

Open
apkelly opened this issue Aug 1, 2018 · 1 comment
Open

Ability to apply ColorFilter to individual Path components #17

apkelly opened this issue Aug 1, 2018 · 1 comment

Comments

@apkelly
Copy link

apkelly commented Aug 1, 2018

It's be great if I could apply a dynamic ColorFilter to individual Path elements within a VectorDrawable and AnimatedVectorDrawable.

use-case - I have a button made up of multiple layers, one of those layers is brand related and changes depending on the context of the screen. Applying a ColorFilter to the whole drawable affects all layers, so the white "play/pause" button on my coloured background is also modified.

@waqasakram117
Copy link

Hi apkelly,
Did you get any solution for your problem? I also want to access each path of vector to change its color.

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

No branches or pull requests

2 participants