@Ciprian's solution works for me.
In addition, navigateUpFromSameTask() is just a convenience method equivalent to calling:
final Intent intent = NavUtils.getParentActivityIntent(this); NavUtils.navigateUpTo(this, intent);
When the Intent.FLAG_ACTIVITY_NO_ANIMATION flag is added, the transition from the disappearance of Intent.FLAG_ACTIVITY_NO_ANIMATION takes effect.
trojantale
source share