StatusBar overlaps NavigationPage on Android from Xamarin.Forms 2.3.4

走远了吗. 提交于 2019-12-24 07:49:14

问题


As shown in the image, when updating Xamarin forms from the latest 2.3.3 version to the first 2.3.4 version, the statusbar overlaps the navigation bar. This behaviour ist still there in current version 2.4.0.38779. No code was changed between those both images despite the Xamarin.Forms update.

I use a MasterDetailPage, where the detail part contains a navigation page with a ContentPage inside. No custom stuff, just the default pages. I cannot find any issues relating this nor any breaking changes documented explaining this change in behaviour.

For me it seems the correct display is the variant in version <2.3.4. Or is the new display correct and I have to set some flag to pull the navigation bar beneath the statusbar?

PS: I use Prism.Forms as framework.


回答1:


UPDATE: Problem is solved in Xamarin 3

ORIGINAL:

To answer my own question:

Unfortunately this is not possible at the moment:

There is a pull request regarding the issue: PR

And a renewed Pull request: https://github.com/xamarin/Xamarin.Forms/pull/1287

The bug report: Bugzilla

Thread from BjornB who suggested the PR: Xamarin Forum



来源:https://stackoverflow.com/questions/47080032/statusbar-overlaps-navigationpage-on-android-from-xamarin-forms-2-3-4

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