由网友(长纱落地)分享简介:据我所知,从API级别5有可能在意图prevent当我开始一个新的活动正在应用的正常动画指定一个标志:I am aware that from API level 5 it is possible to specify a flag in the intent to prevent the normal animat...
据我所知,从API级别5有可能在意图prevent当我开始一个新的活动正在应用的正常动画指定一个标志:
I am aware that from API level 5 it is possible to specify a flag in the intent to prevent the normal animation being applied when I start a new activity:
myIntent.setFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION);
不过,我的问题是:有没有办法实现一个应用程序一样的东西支持Android 1.6的
However, my question is: is there a way to achieve the same thing in an app supporting android 1.6?
推荐答案
使用这样的: getWindow()setWindowAnimations(0)
在活动
正在启动。
Use this: getWindow().setWindowAnimations(0);
within the Activity
that is starting.
相关推荐
最新文章