Show status bar when using the ApplicationViewBoundsMode.UseCoreWindow windows phone 8.1

给你一囗甜甜゛ 提交于 2019-12-02 08:15:47
Zhendong Wu - MSFT

Is there any way to keep the status bar normal and also make the page from going under the software navigation keys?

ApplicationViewBoundsMode.UseCoreWindow can indeed help to display content under the navigation key. But if you want to avoid the side effect that your top status bar becomes transparent, you could try ApplicationView.GetForCurrentView().VisibleBoundsChanged and change the margin of your page. If you have a look, The top margin is set to -40 to go under the status bar you could just put that to 0 and set the ApplicationView as mentioned above that'll fix it.

You might refer to this blog written by @Joost Van where he demonstrates the detailed steps and code as well as the screenshot. And it works with your Windows Phone 8.1 project.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!