Java tutorial
//package com.java2s; import android.view.animation.RotateAnimation; import android.widget.RelativeLayout; public class Main { public static void startAnimIn(RelativeLayout view) { RotateAnimation ra = new RotateAnimation(180, 360, view.getWidth() / 2, view.getHeight()); ra.setDuration(500); ra.setFillAfter(true); view.startAnimation(ra); } }