Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/230.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
android overridePendingTransition不';在活动中应用主题时不起作用_Android_Android Animation_Android Theme - Fatal编程技术网

android overridePendingTransition不';在活动中应用主题时不起作用

android overridePendingTransition不';在活动中应用主题时不起作用,android,android-animation,android-theme,Android,Android Animation,Android Theme,一开始,我没有在manifest.xml中定义主题属性, 在调用startActiviy之后,我立即调用了方法overridePendingTransition(animSet1,animSet2) 但后来我试图在我的主要活动中定义风格主题(通过Theme.transparent.NoTitle.FullScreen), 我得到的是:enter动画被应用,而exit-one没有按预期工作,它仍然是全屏的 我还可以在LOGCAT中看到如下日志: 07-16 16:06:46.405: W/khrn

一开始,我没有在manifest.xml中定义主题属性, 在调用startActiviy之后,我立即调用了方法
overridePendingTransition(animSet1,animSet2)

但后来我试图在我的主要活动中定义风格主题(通过Theme.transparent.NoTitle.FullScreen), 我得到的是:enter动画被应用,而exit-one没有按预期工作,它仍然是全屏的

我还可以在LOGCAT中看到如下日志:

07-16 16:06:46.405: W/khrn_client(12147): init_window num_buffers 3 min undequeued buffers 1 type 1
07-16 16:06:46.405: W/khrn_client(12147): init_window window 0x4da9ed18, 480x800 hintTransform 0x0
我认为在使用主题和活动动画时有一些特别之处


谁能帮我或推荐一些关于这方面的文档?

我遇到了同样的问题。如果我将
windowIsTranslucent
设置为
true
并将
windowBackground
设置为transparent,则退出动画不起作用。你已经解决这个问题了吗?