title: Xamarin Forms: duplicated Toolbar in Master Detail Page
body: <p>I am currently working on a project in Xamarin Forms and Andoird (iOS support will be added later).
  The app has a <code>MasterDetailPage</code> as <code>HomePage</code> and a <code>ToolBar</code>, which works fine.</p>
  
  <p>In one of my <code>DetailPages</code> there is an <code>ToolbarItem</code> that links to another Page:</p>
  
  <pre><code>Navigation.PushAsync(new NavigationPage(new ShoppingCartPage()));
  </code></pre>
  
  <p>When I am at the <code>ShoppingCartPage</code> I got a duplicated Toolbar and I don't know why (see <a href="https://i.stack.imgur.com/6qqH2.png" rel="nofollow noreferrer">ScreenshotPhone</a>)</p>
  
  <p>Can anyone point me in the right direction on how to show just one toolbar.
  The strange thing is, that the <code>ToolbarItem</code> on the <code>ShoppingCartPage</code> is shown twice.</p>
  
  <p><strong>XAML from ShoppingCartPage:</strong></p>
  
  <pre><code>&lt;ContentPage.ToolbarItems&gt;
          &lt;ToolbarItem x:Name="toolbarItemFinishOrder" Activated="FinishOrder" Icon="wallet_64.png"&gt;
          &lt;/ToolbarItem&gt;
      &lt;/ContentPage.ToolbarItems&gt;
      &lt;StackLayout&gt;
  </code></pre>
  
  <p><strong>XAML from Page linking to ShoppingCartPage:</strong></p>
  
  <pre><code>&lt;ContentPage.ToolbarItems&gt;
          &lt;ToolbarItem x:Name="toolbarItemShoppingCart" Activated="ShoppingCart_Clicked" Icon="shoppingCart2_64.png"&gt;&lt;/ToolbarItem&gt;
      &lt;/ContentPage.ToolbarItems&gt;
  &lt;/ContentPage&gt;
  </code></pre>
  
  <p><strong>Code from Page linking to ShoppingCartPage:</strong></p>
  
  <pre><code>public partial class ArticleSearchPage : ContentPage
      {
          public ArticleSearchPage()
          {
  
              InitializeComponent();
              this.Content = new ArticleSearchView();
  
              //TODO: Localization
              this.Title = "Artikel";
          }
  
          protected void ShoppingCart_Clicked(object sender, EventArgs e)
          {
              Navigation.PushAsync(new NavigationPage(new ShoppingCartPage()));
          }
  </code></pre>
  
  <p>I hope that I made myself clear and that you can help me.
  Thanks in advance!</p>