Reputation: 3799
I'm trying to hide the navigation bar (where battery status, time, notifications and other stuff is shown), but I want to keep the actionbar.
How can I manage it?
<item name="android:windowNoTitle">true</item>
This method hides everything...
Thank you!
Upvotes: 0
Views: 409
Reputation: 3799
Found it myself:
// Hide the Status Bar
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
From another question (android - How to Hide the stausbar)
Upvotes: 1