title: Xamarin Forms change Tabbar to Toolbar using Shell Menu
body: <p>I am working on a cross-plat app and was wondering, how to change the bottom tabbar into a toolbar? Or give it the function of a toolbar (where I am not navigating to seperate pages upon clicking an item on the toolbar). I have added a 'ContentPage' object to the Shell page in the tabbar, but it still navigates to that page (it's rendered as a seperate page and any elements I place in it are rendered on the new page). I want to keep the top Toolbar and Flyout menu.</p>
  
  <p>Here is the Xaml code from the Shell page.</p>
  
  <pre><code>&lt;TabBar&gt;
      &lt;Tab Title="Browse" Icon="tab_feed.png"&gt;
          &lt;ShellContent ContentTemplate="{DataTemplate local:ItemsPage}" /&gt;
      &lt;/Tab&gt;
      &lt;Tab Title="About" Icon="tab_about.png"&gt;
          &lt;ShellContent ContentTemplate="{DataTemplate local:AboutPage}" /&gt;
      &lt;/Tab&gt;
      &lt;contentpage&gt;
              &lt;Label text="foo"/&gt;
            &lt;/contentpage&gt;
  &lt;/TabBar&gt;
  </code></pre>
  
  <p>I don't know if I can continue to use the 'Tabbar item or not, but if I can, I don't know what element to insert to just perform actions (no navigation).</p>
  
  <p>Edit 02/05/2020
  You can remove the Tabbar by just putting one Tab in it (it then disappears). You can add a makeshift Toolbar by putting a FlexLayout or Grid inside a Grid and setting RowDefinitions (87* and 13*) in the outer Grid, then set inner element to second row (Grid.Row="1"). Grid displays the items in order their added.</p>
  
  <p>I found the fastest way to create an app with drawer, top and bottom navigation bars I'd with a MasterDetail app. You can add custom content to the Drawer and MainPage (and top and bottom navigation bars)easier this way (no fooling with tabs). You can exclude any files you don't need and/or any features you don't need (drawer/bars).</p>