I used the following theme to set fullscreen mode in Android 1.1, but the same code doesn't hide the Status Bar in 1.5. The Activity goes fullscreen, but the Status Bar always stays on top of it. The theme used:
<style name="Theme.ViewItem" parent="android:style/ Theme.NoTitleBar.Fullscreen"> <item name="android:windowIsTranslucent">true</item> <item name="android:windowBackground">@color/ translucent_white_background</item> <item name="android:windowFullscreen">true</item> <item name="android:windowNoTitle">true</item> <item name="android:colorForeground">#fff</item> </style> Even tried setting the flags for the window using the following, but nothing worked. getWindow().setFlags (WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN, 0); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); Did someone notice this? Is there a solution? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---