Android Hide Status Bar

In previous posts we have already saw about how to Hide the title bar . Now we are going to see about how to hide the status bar.
First of all see the below image to know which is Status bar .

// Hide the Status Bar

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

WindowManager.LayoutParams.FLAG_FULLSCREEN);

sample code:

“Tutorial_UI_HideStatus_HideBarActivity”

By admin-powenko

Dr. Powen Ko is a teacher and CEO on LoopTek LLC, and like to teaching. if you need to class, please let PowenKo know, he will love to service and sharing. LoopTek web site is www.looptek.com

Leave a Reply