Android - Hide Status Bar by using the Window Class - ANDROID - Helper

Wednesday, March 09, 2011

Android - Hide Status Bar by using the Window Class

HIDE THE STATUS BAR


@Override
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
                WindowManager.LayoutParams.FLAG_FULLSCREEN);
...
}

No comments:

Post a Comment