Open GeoSaffer opened 4 days ago
Found that the following code will make it work on Android
<StackLayout IsVisible="{Binding IsLoading}"
Spacing="10"
sk:Skeleton.IsParent="True"
sk:Skeleton.IsBusy="{Binding IsLoading}"
sk:Skeleton.Hide="False"
sk:Skeleton.Animation="{sk:DefaultAnimation Source=Fade, Interval='900',Parameter='0.3'}">
<StackLayout Orientation="Horizontal" Spacing="5" Padding="0" >
<BoxView WidthRequest="200" HeightRequest="40" CornerRadius="2" sk:Skeleton.IsBusy="{Binding IsLoading}" sk:Skeleton.BackgroundColor="#22FFFFFF" />
<BoxView WidthRequest="40" HeightRequest="40" CornerRadius="5" HorizontalOptions="EndAndExpand" sk:Skeleton.IsBusy="{Binding IsLoading}" sk:Skeleton.BackgroundColor="#22FFFFFF"/>
</StackLayout>
<BoxView WidthRequest="300" HeightRequest="10" CornerRadius="5" HorizontalOptions="Start" sk:Skeleton.IsBusy="{Binding IsLoading}" sk:Skeleton.BackgroundColor="#22FFFFFF"/>
<BoxView WidthRequest="600" HeightRequest="10" CornerRadius="5" HorizontalOptions="Start" sk:Skeleton.IsBusy="{Binding IsLoading}" sk:Skeleton.BackgroundColor="#22FFFFFF"/>
<BoxView HeightRequest="1" HorizontalOptions="Fill" Margin="0,0" sk:Skeleton.IsBusy="{Binding IsLoading}" sk:Skeleton.BackgroundColor="#22FFFFFF"/>
</StackLayout>
Seems like the Corner radius and color setting not working for Android
Here is a pic of Windows
and here is one of Android