在全屏应用程序,通知栏的问题 [英] Problem with notification bar in fullscreen app

查看:116
本文介绍了在全屏应用程序,通知栏的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我运行在全屏模式下的应用程序,其中全屏被定义为一个XML格式的主题为整个应用程序。

I run an app in fullscreen mode where fullscreen is defined as a theme in xml for the entire app.

<style name="MyAppTheme" parent="android:Theme">
    <item name="android:windowNoTitle">true</item>
    <item name="android:windowFullscreen">true</item>
    <item name="android:windowBackground">@null</item>
</style>

一般来说,工作正常,但也有一些问题,在某些情况下:

Generally it works ok, but there are some issues in some cases:

  1. 当我通过搜索按钮打开搜索对话框 - > 截图
  2. 当我打开微调部件是很长,充满屏幕(这样的名单通常是滚动) - >的截图
  1. when I open the search dialog via search button -> Screenshot
  2. when I open spinner widgets that are very long and fill the screen (so that the list is usually scrollable) -> Screenshot

的问题是,当我打开搜索对话框或微调窗口小部件,系统通知栏出现几的毫秒,然后再滚动到屏幕。 请看截图上面的链接。

The problem is that when I open the search dialog or spinner widget, the system notification bar occurs for a few millisecs and then scrolls off the screen again. Please see the screenshots linked above.

我目前是在2.2的Nexus One,但同样的事情发生在2.1update1(尤其是第2种情况),以及前。

I'm currently on 2.2 with NexusOne, but same thing happened on 2.1update1 (esp. case 2) as well before.

推荐答案

要避免它是关闭在设备设置/显示/动画所有动画的唯一方式。

The only way to avoid it is to turn off all animations under device settings / display / animation.

我只看到它是一个已知的bug: HTTP:/ /$c$c.google.com/p/android/issues/detail?id=3674

I just see it's a known bug: http://code.google.com/p/android/issues/detail?id=3674

这篇关于在全屏应用程序,通知栏的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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