<?xml version="1.0" encoding="UTF-8"?>
<ContentView 
    xmlns="http://xamarin.com/schemas/2014/forms"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    x:Class="MasterDet.Views.LoadingView">

    <Grid>
        <Grid BackgroundColor="LightGray" Opacity="0.6" IsVisible="{TemplateBinding BindingContext.IsBusy}" />
        <ActivityIndicator 
            HorizontalOptions="Center"
            VerticalOptions="Center"
            Color="{DynamicResource DefaultLabelColor}"
            IsRunning="{TemplateBinding BindingContext.IsBusy}" />
    </Grid>
</ContentView>