Thursday, April 12, 2012

Android - Hide Status Bar by using the Window Class


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: