开发者

Flip-Animation for Activity-Change

开发者 https://www.devze.com 2023-02-20 17:49 出处:网络
i wa开发者_JAVA技巧nt to flip between two activities like the iPhone. I tried to use the overridePendingTransition(int enterAnim, int exitAnim) Method, but was not successful.

i wa开发者_JAVA技巧nt 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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消