Dynamically changing SVG colours on Android
Emma Guy

Awesome trick! How could I apply this if I don’t know the colors at compile time? (say the user himself defines the color..)

Is there a way of changing what value the ‘attr’ color points to dynamically?

Like what you read? Give Oscar Peñas a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.