Tuesday, March 1, 2011

[android-developers] Status Bar appears again

Hi,

I am developing a Home Screen and I have set the following attributes
in AndroidManifest.xml
android:theme="@android:style/Theme.Wallpaper.NoTitleBar.Fullscreen"

as well as in onCreate() function as
// programatically setting the "No Status Bar" and "Fullscreen" for
this application
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);


This works fine as long as my application starts running in the
foreground for the first time but once I activate any other
application by touching corresponding application icon and it (my
application) goes to background, the status bar appears when it
returns to foreground stays there.

Why it would have such characteristics even though I've explicitly
set above attributes.

Thanks in advance

Regards,
argongold

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment