- Home /
Android re-hide status bar (Lollipop)
Hi! I'm using Unity 5.0.0f3 and I enabled "Status bar hidden" in PlayerSettings. In my scene I use an 'Input Field' to get username and password from user. Before user inputs, my scene renders full screen (2560x1600, I'm using Nexus 10).
The problem occurs when lollipop's keyboard disappears: status bar won't hiding back and my screen resolution decreases for few hundred of pixel.
There is a workaround to re-hide status bar after keyboard disappeared?
Many thanks in advance for your precious support!!
On $$anonymous$$it-kat 4.4 on Sony Xperia Z the status bar is transparent and doesn't resize the game's screen. It also hides properly after other events.
Answer by pertsa · Sep 18, 2015 at 11:07 AM
@yuri Using Unity 5.1.3f on Android 5.0.1 and this bug still appears. Any hints?
To be more exact, my problem is this: When app has been closed and then reopened via android recent apps selection, the immersive mode is not on, but black bar blocks the bottom of the screen.
Has anybody come up with a fix for this issue? I am having the exact same problem with Android 6.0. However, for me it happens every time I open the app. Really frustrating. I asked a question about it here.
Answer by Yury-Habets · Mar 05, 2015 at 04:23 PM
This is a bug and will be fixed in 5.0 patch 1.
No - just trust me ;) The fix didn't get into 5.0 initial release, but will make it into patch 1.
Your answer
Follow this Question
Related Questions
How to get best resolution from phone camera WebCamTexture? 2 Answers
How to setup android build so that users without gyroscope do not see it in Play Store ? 1 Answer
Android translucent status bar 1 Answer
Hiding/Overriding the Action/Navigation bar on Android? 0 Answers
Preventing Android Status Bar activation on swipe? 0 Answers