i am creating an android app in which i want set delay in the rotation of needle when activity start anyone please tell me how to do this here is my code
RotateAnimation ra = new RotateAnimation(currentDegree,altitude,
Animation.RELATIVE_TO_SELF, 0.5f,
Animation.RELATIVE_TO_SELF,
0.5f);
ra.setDuration(1500);
ra.setFillAfter(true);
// Start the animation
imageneedle.startAnimation(ra);
currentDegree = altitude;
////