I am trying to create a button where I can hide or show the status bar on my tablet.
I\'ve put in the onCreate
getWindow().addFlags(WindowManager.Lay
used for kolin in android for hide status bar in kolin no need to used semicolon(;) at the end of the line
window.addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN)
in android using java language for hid status bar
getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);