Created
March 10, 2017 08:30
-
-
Save wajahatkarim3/18a627837fc60bfb57c113b4195c0cfe to your computer and use it in GitHub Desktop.
Dimming Status bar
This file contains 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
// This example uses decor view, but you can use any visible view. | |
View decorView = getActivity().getWindow().getDecorView(); | |
int uiOptions = View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY; | |
decorView.setSystemUiVisibility(uiOptions); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment