Reputation: 127
i want to flip between two activities like the iPhone.
I tried to use the overridePendingTransition(int enterAnim, int exitAnim) Method, but was not successful.
Has someone implemented an animation like this?
fesp
Upvotes: 5
Views: 5283
Reputation: 16914
When you have to change Activities, first start the desired layout animation on the outmost view (possibly a viewgroup) of the current Activity. When the animation finished, start the new Activity. Also, remember to switch off the default Activity transition animation.
Upvotes: 2