Prior to 4.3,
@android:style/Theme.Black.NoTitleBar
and
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);`
works perfectly to hide the Notification bar. But in 4.3 though the bar is not showing using this code but sliding at the top bring the bar
I found out there is no simple way to do it. So I use bit of reflection and its working fine.
Don't forget to add this in manifest.