Thursday, September 29, 2011

[android-developers] going back and forth from FullScreen

Hi,

I have an application that sets fullscreen with

getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);

... right before the view is created. Works fine.

However, i would like to bypass an Android BUG that prevents a screen
change being sent when the IMM opens and its in full screen. For this,
my idea was to

1. disable full screen
2. show the IMM
3. hide the IMM
4. re-enable full screen

Steps 1-3 works fine, but re-enabling full screen does not work (the
taskbar is still there).

Is this another bug or is it an expected behaviou? How can i force the
fullscreen to be applied?

thanks

guich

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