title: Xamarin Forms Designer need to place 2 buttons side by side on top of a map
body: <p>Currently I have these 2 buttons on top of each other</p>
  <p>Unfortunately, Visual Studio doesn't support visual editing in Xamarin, so I have to edit the XAML code by hand, which I can't do easily</p>
  <p>Can somebody help me figure out how to get these 2 buttons to be side by side instead of on top of each other</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;ContentPage xmlns=&quot;http://xamarin.com/schemas/2014/forms&quot; 
               xmlns:x=&quot;http://schemas.microsoft.com/winfx/2009/xaml&quot;
               xmlns:local=&quot;clr-namespace:CustomRenderer;assembly=CustomRenderer&quot;
               x:Class=&quot;CustomRenderer.MapPage&quot;&gt;
      &lt;StackLayout Margin=&quot;0,0,0,0&quot;&gt;
          &lt;Button Text=&quot;Add items&quot; Clicked=&quot;OnAddItemsClicked&quot;/&gt;
          &lt;Button Text=&quot;Add other&quot; Clicked=&quot;OnAddOtherClicked&quot;/&gt;
          &lt;local:CustomMap x:Name=&quot;customMap&quot;
                       MapType=&quot;Street&quot; /&gt;
      &lt;/StackLayout&gt;
  &lt;/ContentPage&gt;
  </code></pre>
  <p><a href="https://i.stack.imgur.com/BPWDe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BPWDe.png" alt="enter image description here" /></a></p>