2活性的翻转动画 [英] Flip animation between two activity

查看:140
本文介绍了2活性的翻转动画的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能做两活动之间的翻转动画?
在API演示 Transition3d.java类是有,但就是翻转视图,而不是活动。

Is it possible to do flip animations between two activities?
In the API demos Transition3d.java class is there but that is to flip the view and not the activities.

推荐答案

是的,它是可能的。这里这个例子说明了如何使活动之间的3D翻转。

yes it is possible. This example here shows you how to make a 3d flip between activities.

<一个href="http://blog.robert-heim.de/karriere/android-startactivity-rotate-3d-animation-activityswitcher" rel="nofollow">http://blog.robert-heim.de/karriere/android-startactivity-rotate-3d-animation-activityswitcher

该示例使用了动画和动画了,这样它看起来像一个3D翻转正在活动的场所。在第一个活动的onResume,你将能够活动二看动画一个动画出跟着。

This example makes use of animation in and animation out, such that it will look like a 3d flip taking place between activities. In the first activity's onResume you will be able to see a "animation out" followed by "animation in" in Activity two.

希望它帮助。

这篇关于2活性的翻转动画的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆