Animation in Android

657 views.

When we are moving from one activity to other activity there we need to apply few effects those effects in android we applied as a animation.

For creating animation is very very simple just we create “anim”  folder and in anim folder create one xml file write animation tags there for reference please check below program.

This is the xml main in anim folder

this is another the xml main in anim folder

MainActivity.java

Here am applying animation when am moving to second activity.

activity_main.xml

Manifest.xml

 

You may also like...

Leave a Reply