Show a full-screen activity or No Status Bar

To show a full screen activity is easy. Just paste below code blocks in your activity's oncreate() method.

 requestWindowFeature(Window.FEATURE_NO_TITLE); 
 getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);