Last active
          December 9, 2018 01:08 
        
      - 
      
 - 
        
Save dynoChris/78450c8425696860390b8464e2a3a399 to your computer and use it in GitHub Desktop.  
    How to hide status bar in Android
  
        
  
    
      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
    
  
  
    
  | //source: https://developer.android.com/training/system-ui/status | |
| View decorView = getWindow().getDecorView(); | |
| // Hide the status bar. | |
| int uiOptions = View.SYSTEM_UI_FLAG_FULLSCREEN; | |
| decorView.setSystemUiVisibility(uiOptions); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment