Can you toggle between the full screen mode and normal mode? I got an exception when I call WindowManager.addFlags/setFlags affter the activity has been created. The exception told me something like "You cannot modify the flags once the activity is created".
On Nov 12, 5:01 pm, "tomei.ninge...@gmail.com" <tomei.ninge...@gmail.com> wrote: > Thanks Dianne. This works like a charm. The title bar even animates > the hide/show action! > > On Nov 10, 11:32 pm, Dianne Hackborn <hack...@android.com> wrote: > > > Change the window flag -- getWindow() to get the window, and change the > > fullscreen flag defined in WindowManager.LayoutParams. > > > On Tue, Nov 10, 2009 at 9:48 PM, tomei.ninge...@gmail.com < > > > tomei.ninge...@gmail.com> wrote: > > > Hi, > > > > Is it possible to show/hide the status bar without creating a new > > > "full screen" activity? > > > > I want to creating something like Firefox browser, where user can > > > toggle the "full screen" mode. > > > > Thanks > > > > -- > > > 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<android-developers%2bunsubscr...@googlegroups.com> > > > For more options, visit this group at > > >http://groups.google.com/group/android-developers?hl=en > > > -- > > Dianne Hackborn > > Android framework engineer > > hack...@android.com > > > Note: please don't send private questions to me, as I don't have time to > > provide private support, and so won't reply to such e-mails. All such > > questions should be posted on public forums, where I and others can see and > > answer them. > > -- 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