Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save codesburner/903241 to your computer and use it in GitHub Desktop.

Select an option

Save codesburner/903241 to your computer and use it in GitHub Desktop.

Revisions

  1. @mstefanko mstefanko revised this gist Mar 28, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Hide the status bar and title bar
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@

    getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,

    WindowManager.LayoutParams.FLAG_FULLSCREEN);
    WindowManager.LayoutParams.FLAG_FULLSCREEN);



  2. @mstefanko mstefanko created this gist Mar 28, 2011.
    13 changes: 13 additions & 0 deletions Hide the status bar and title bar
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    //for hide the status bar

    getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,

    WindowManager.LayoutParams.FLAG_FULLSCREEN);



    //hide the title bar

    requestWindowFeature(Window.FEATURE_NO_TITLE);

    requestWindowFeature(Window.FEATURE_PROGRESS);