Android Animation in Action

Updated 14 December 2016

Save

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.

 

author
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Start a Project


    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home