How to restart android AnimatedVectorDrawables animations?
I have a kinda complex vector drawable that I want to animate. I used @RomanNurik's web tool to create the animation from a svg That gives me a valid <animated-vector> according to the documentatios . It's an "all in one" XML file. The xml has the drawable divided in 2 groups, each group containing 2 paths and has also added 4 animations, just as follows: <animated-vector xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt"> <aapt:attr name="android:drawable"> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width=