Hi!
I'm truing to place my ActivityIndicator in the centre of my page.
Here is the XAML.
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="CPMobile.Pages.PendingTimesheetListPage"
Title="Timesheets">
<ContentPage.Content>
<AbsoluteLayout
VerticalOptions="FillAndExpand"
HorizontalOptions="FillAndExpand">
<ActivityIndicator HorizontalOptions="Center" VerticalOptions="Center"
Scale="1" IsRunning="{Binding IsLoading}"
IsVisible="{Binding IsLoading}"
AbsoluteLayout.LayoutBounds="0.5, 0.5, 0.5, 0.5"
AbsoluteLayout.LayoutFlags="All" />
</AbsoluteLayout>
</ContentPage.Content>
</ContentPage>
Everything is fine on iOS but on Android ActivityIndicator is stretched.
What am I doing wrong?
Thank you!