Tag Archives: Full screen

Android full screen applications

If you want to have your application full-screen, to have removed even the window title & everything else, you have to add the following to your activity creation code:

protected void onCreate(Bundle savedInstanceState)
{

    	super.onCreate(savedInstanceState);

    	// make window full screen
    	requestWindowFeature(Window.FEATURE_NO_TITLE);
    	getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
    			WindowManager.LayoutParams.FLAG_FULLSCREEN);

 .. do your usual initialization stuff
 }