开发者

hide status bar in landscape mode leave a blank space when rotating

My application support to display some screen in landscape mode, and in landscape mode, I set to hide the status bar to get mode space to display data.

The problem is while hiding the status bar and rotate screen, it leave a white pace at status bar position until the screen is rotated completely as below screenshot.

hide status bar in landscape mode leave a blank space when rotating

I guess that steps of operations when rotating screen are: 1. hide status bar 2. rotate screen 3. resize screen to take place of status bar.

So until the screen is rotated completely, user still can see the white space, it is not good and I want to do something such as: set color for that blank space to black, or set animation to hide that blank space but unlucky!

So, does anyone have solution to resolve this, please help me,开发者_如何学JAVA thanks a lot!


you should make the size of view 320 * 480. as you might have hidden the statusbar but the size of view will be 320 * 460(default)

Check out this one.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜