I have a simple master detail page, but for some reason the master page seems to be contained within the detail view. In other words, the menu starts where the detail navigation bar ends -- I would expect the master page to start at the top of the screen. What's the deal?
public class MasterPage : MasterDetailPage
{
public MasterPage(Sdk.Application context)
{
Title = "Master Page";
this.Master = new MenuPage();
this.Detail = DetailPage();
IsPresented = true;
}
}
private NavPage DetailPage()
{
var result = new NavPage(new BasePage { Title = "Empty" });
... populate page content ...
return result;
}
MainPage = new MyMasterDetailPage();
, but notMainPage = new NavigationPage (new MyMasterDetailPage());
. Also, the app theme should beMaterial
. – Mikalai Daronin