you need to add an
Animation Listener[
^] to your activity.
And the
onAnimationEnd()[
^] you can start your new intent.
Something like this,
public void blink(View view){
ImageView image = (ImageView)findViewById(R.id.imageView);
Animation animation1 = AnimationUtils.loadAnimation(getApplicationContext(), R.anim.blink);
animation1.setAnimationListener(new AnimationListener() {
public void onAnimationStart(Animation animation) {}
public void onAnimationRepeat(Animation animation) {}
public void onAnimationEnd(Animation animation) {
}
}
image.startAnimation(animation1);
finish();
}
-KR