hi all,
I design a rotate animation when activity 1 ends, and then start
activity 2.
so my code is:
===when activity 1 ends function===
rotate_animation(); //first call up the animation
Intent i=new Intent();
i.setClass(activity1.this,activity2.class);
startActivity(i);
My suggestion would be -- generally don't do this. Animations during
activity transitions are done by the window manager, on their windows.
Prior to 2.0, these were turned off by default (though could be turned on
by the user), and as of 2.0 they are turned on by default.
Trying to create your
2 matches
Mail list logo