I am creating an application in Xamarin Forms (4.0) for Android (Android 8.1). My main page is a MasterDetailPage where I set the detail page to:
this.Detail = new NavigationPage(new SomePage());
When I want to navigate the detail to another page (so that the 'back' button works correctly) I just do:
this.Detail.Navigation.PushAsync(new NavigationPage(new SomeOtherPage());
This all works fine but I am left with an additionl navigation bar with the back button:
If I do NavigationPage.SetHasBackButton(this, false);
the back button goes away but the navigation bar is left so I have a big blue rectangle on top of my page. If I do NavigationPage.SetHasNavigationBar(this, false);
then both the navigation bar and the titlebar (with hamburger menu) dissappear! Is there a way to just hide the navigation bar with the back button but leave the master/detail title bar (with hamburger menu)?