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

How do I get rid of the bottom bar on Android?

$
0
0

I've been trying to rid of this bar on Android.

I've added NavigationPage.SetHasNavigationBar(this, false); to some pages to remove the navigation bar.
This works fine on iOS but on Android, I can't get rid of it.

What I've tried so far:
Added this to Mainactivity.cs
Window.AddFlags(WindowManagerFlags.Fullscreen);
Window.ClearFlags(WindowManagerFlags.ForceNotFullscreen);

Added this to styles.xml
<style name="MainTheme.Base" parent="Theme.AppCompat.Light.NoActionBar">

None of this this works.

Do I understand correctly that the following should remove the navigation bar on iOS and Android.
NavigationPage.SetHasNavigationBar(this, false);

Is so, this doesn't work on Android.

Please help !


Viewing all articles
Browse latest Browse all 91519

Trending Articles



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