I am trying to hide the status bar. I have tried the following things.
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" > In the Manifest.XML I have added the above code.
And in the onCreate() I have added the following:
requestWindowFeature(Window.FEATURE_NO_TITLE); // hide statusbar of Android // could also be done later getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); But still I am unable to hide the status bar. Can anyone help?