Forum Xamarin.Forms

Xamarin forms Shell app page under status bar on Android

Hello,
I am trying to create app with a map on the main page. And I wanna have map under the status bar, like this in Google Maps:

On iOS it was easy.
I am using Shell with a page, that contains Grid with Map element. Also, I set this in styles.xml:

<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
<item name="android:windowTranslucentStatus">true</item>
<item name="android:windowTranslucentNavigation">true</item>

But the result is this:

But it looks like the flyout is under the status bar:

Can you please help me, how to achieve the app to be overlapped by the status bar on Android?

Sign In or Register to comment.