Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

Xamarin forms Shell app page under status bar on Android

$
0
0

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?


Viewing all articles
Browse latest Browse all 89864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>