Fesp
Fesp

Reputation: 127

Flip-Animation for Activity-Change

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

Answers (1)

Zsombor Erdődy-Nagy
Zsombor Erdődy-Nagy

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

Related Questions