Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problem with notification bar in fullscreen app

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. 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.

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

like image 698
Mathias Conradt Avatar asked Jun 03 '10 10:06

Mathias Conradt


People also ask

Why is my status bar not showing?

You might experience that the status bar on the Home screen of your device disappears. This is caused by a Google™ bug, and may happen if your device fulfils the following: Software version Android™ 7.0 Nougat. Google Now™ is enabled.


1 Answers

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

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

like image 160
Mathias Conradt Avatar answered Sep 21 '22 23:09

Mathias Conradt