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

前端 未结 1 440
难免孤独
难免孤独 2021-01-28 16:51

My Windows Phone 8.1 apps bottom part gets under the software navigation keys. I use ApplicationViewBoundsMode.UseCoreWindow to make the page stay over the softwar

相关标签:
1条回答
  • 2021-01-28 17:25

    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.

    0 讨论(0)
提交回复
热议问题