Editing VectorDrawable Groups From Code

Nathan Sokalski 4,106 Reputation points
2021-12-12T20:56:18.867+00:00

I have a Drawable Resource containing a VectorDrawable that contains several Group(s). I need to edit one of these Group(s) from code. I am able to create the new Path(s) I need, but I am not sure how to remove the Path(s) already in the Group or how to add the new ones. How can I edit the Group(s) in my VectorDrawable from code?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,355 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.