kyrie icon indicating copy to clipboard operation
kyrie copied to clipboard

Ability to apply ColorFilter to individual Path components

Open apkelly opened this issue 6 years ago • 1 comments

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.

apkelly avatar Aug 01 '18 23:08 apkelly

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

waqasakram117 avatar Dec 17 '19 07:12 waqasakram117