Answer the question
In order to leave comments, you need to log in
How to change attribute values of drawable elements by referring to their name?
I need to change attributes of drawable depending on conditions. In xml, a separate path can be given a name. But how do you refer to an element by its name in order to programmatically change its values?
Answer the question
In order to leave comments, you need to log in
Found a library that solves this problem - https://github.com/devendroid/VectorChildFinder
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question