Hide Android App Title Bar

To hide the title bar of the android app, add this code snippet to the onCreate method of the Activity before setting the content view.

requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, 
  WindowManager.LayoutParams.FLAG_FULLSCREEN);
Enhanced by Zemanta
Advertisements