Photo by Possessed Photography on Unsplash

Animations give us an idea that what’s going on in our application. It gives a polished look and feel. They are especially useful in how it is changing the UI with new content or new actions.

Android gives a class called Animation. It is the abstract Parent class of Translate Animation, Rotate Animation, and so on.

we can do the Animation by writing the code in an XML file or directly in a java file. As with defining the layout, an XML file is recommended because it’s reusable, readable, and easy to understand.

To perform Animation in android, we need…

sneha devi

Android Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store