Forked from mstefanko/Hide the status bar and title bar
Created
April 5, 2011 08:21
-
-
Save codesburner/903241 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //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); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment