Moon Light Box

Time is Money

Android - Disable Animation Between Switch Activities

| Comments

Intent intent = new Intent(this, B.class);
intent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION);
this.startActivity(intent);
this.overridePendingTransition(0, 0); // 0 for no animation

Reference:http://stackoverflow.com/questions/9596355/

Comments

comments powered by Disqus