title: Why do controls become uncentered after adding activity indicator
body: <p>I've been playing around with activity indicators, trying to get them added to my views, have it centered, have it overlay on top of other controls, etc. </p>
  
  <p>The accepted answer in this other thread (<a href="https://stackoverflow.com/questions/48295792/xamarin-forms-how-to-fix-activity-indicator-in-centre-of-screen-in-scrollview">Xamarin Forms : How to fix Activity Indicator in Centre of Screen in Scrollview</a>) actually shows me how to do all of that so I've added it to a test project to verify.</p>
  
  <p>The problem I'm having is now after I add the controls to the XAML it now moves the controls to the top left of the screen and I'm wondering what I now need to change to get my controls centered again.</p>
  
  <p>Here's my XAML in my test project:</p>
  
  <pre><code>&lt;ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
           xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
           xmlns:d="http://xamarin.com/schemas/2014/forms/design"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           mc:Ignorable="d"
           x:Class="ActivityIndicator.MainPage"&gt;
  
  &lt;AbsoluteLayout HorizontalOptions="FillAndExpand"
                  VerticalOptions="FillAndExpand"&gt;
          &lt;StackLayout HorizontalOptions="CenterAndExpand"
                       VerticalOptions="CenterAndExpand"&gt;
              &lt;!-- Place new controls here --&gt;
              &lt;Label Text="Welcome to Xamarin.Forms!" 
                 HorizontalOptions="CenterAndExpand"
                 VerticalOptions="CenterAndExpand" /&gt;
  
              &lt;Button Text="Button1"
                      HorizontalOptions="CenterAndExpand"
                      VerticalOptions="CenterAndExpand"/&gt;
          &lt;/StackLayout&gt;
  
      &lt;AbsoluteLayout BackgroundColor="#22000000"
                  AbsoluteLayout.LayoutBounds="0.5,0.5,1,1"
                  AbsoluteLayout.LayoutFlags="All"
                  IsVisible="True"&gt;
          &lt;ActivityIndicator Color="Black"
                         AbsoluteLayout.LayoutBounds="0.5,0.5,0.1,0.1"
                         AbsoluteLayout.LayoutFlags="All"
                         IsVisible="True"
                         IsRunning="True"/&gt;
      &lt;/AbsoluteLayout&gt;
  &lt;/AbsoluteLayout&gt;
  </code></pre>
  
  <p></p>
  
  <p><a href="https://i.stack.imgur.com/FuZTJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FuZTJ.png" alt="enter image description here"></a></p>