How to Anim

I learned how to animate today. I had to try 5 different ways but I got something that works nicely. It’s pretty easy and the effect was pretty great.

I used this method.


private void StartAni() {

Animation anim = AnimationUtils.loadAnimation(this, R.anim.alpha);
 LinearLayout l = (LinearLayout) findViewById(;

anim = AnimationUtils.loadAnimation(this, R.anim.translate);
 ImageView i = (ImageView) findViewById(;


I can’t wait to see the code of a pro animator. I’m using this code in an app that i’m releasing soon, maybe tomorrow!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s