[android-developers] how to remove statusbar animation when chang to fullscreen.

2009-11-19 Thread LemonDev
when i chage my activity to fulscreen, the statusbar performs an animation,but not disappear immediately. so how can i make the statusbar disappear immediate ? if need to change framework , where is it? i have read the statusbarservice.java, statusbarview.java, statusbarpolicy.java and

Re: [android-developers] how to remove statusbar animation when chang to fullscreen.

2009-11-19 Thread Stephen Abrams
Hi LemonDev, If you are just wanting to remove the bar, set in OnCreate the following: requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); Make sure its done before setting content

Re: [android-developers] how to remove statusbar animation when chang to fullscreen.

2009-11-19 Thread Dianne Hackborn
Just change the animation associated with the status bar window. I can't point you to the exact code, but it is where it is setting up the window. Note that this will look cruddy unless you are turning off all of the activity transition animations and such... and if you are doing that, why not

Re: [android-developers] how to remove statusbar animation when chang to fullscreen.

2009-11-19 Thread Dianne Hackborn
(Oh and this doesn't belong on android-developers since it is about modifying the framework -- please post follow-ups to android-porting. Thanks.) On Thu, Nov 19, 2009 at 8:57 PM, Dianne Hackborn hack...@android.comwrote: Just change the animation associated with the status bar window. I