yes its possible by giving
overridePendingTransition(enterAnim, exitAnim);
When you start the temp activity call this meathod giving enter and exit animation for that particular activity. Then that activity will only finish with an animation. If thats not working you can also call the overridePendingTransition
in the onFinish();
of temp activity. So that while finishing it will end up with the animation you give.