AnimatedVectorDrawable was added in Android 21. It provides us with the power of animation by using XML only. It animates the property of vector drawable using object animator or animator set.

Starting from android 25 AnimatedVectorDrawable run on the render thread, this means even if UI thread is doing the heavy lifting animation may be smooth. For API less than 21 AnimatedVectorDrawableCompat can be used.