While I do know that you can hide the icon in the action bar by using setDisplayUseLogoEnabled, this takes a while and will result in the icon flashing for a second. Is there a way to avoid this by using themes or any other solution?
Asked
Active
Viewed 2,171 times
1
-
Do you call the actionbar .show() after or before .setDisplayUseLogoEnabled(false) ? – Pim Reijersen Jun 17 '11 at 11:57
-
I posted a [solution][1] in another thread. [1]: http://stackoverflow.com/a/12095926/1239858 – Bert Regelink Aug 23 '12 at 16:23
2 Answers
1
assuming you're after a full screen view, try looking at the
WindowManager.LayoutParams.FLAG_FULLSCREEN
flag in the Window class

The Archetypal Paul
- 41,321
- 20
- 104
- 134

Matt
- 11
- 2
-
FLAG_FULLSCREEN is for the status bar. Fredrik is talking about the action bar (http://developer.android.com/guide/topics/ui/actionbar.html). – Pim Reijersen Jun 17 '11 at 11:52