Start a Project

Android Animation in Action

Android provide series of simple transformations (position, size, rotation, and so on) to the content of a View. This transformation or animation is handled by the package android.view.animation. 

In this blog, we will be animating a view by application rotation and translate transformation over a view.

RotationAnimation

An animation that controls the rotation of an object. This rotation takes place in the X-Y plane. You can specify the point to use for the center of the rotation, where (0,0) is the top left point. If not specified, (0,0) is the default rotation point.

 

 

TranslateAnimation

An animation that controls the position of an object.

 

Exit mobile version