Sunday, October 13, 2013

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);
...
}