Busy Indicator is not showing up at all

Hi

Out of desperation I am trying the following:

                    <core:SfBusyIndicator

                        IsRunning="True"

                        AnimationType="{OnPlatform CircularMaterial, iOS=Cupertino, Android=CircularMaterial}"

                        IndicatorColor="{AppThemeBinding Dark={x:StaticResource Primary}, Light={x:StaticResource PrimaryDarkText}}"

                        HorizontalOptions="CenterAndExpand"

                        Title="{x:Static strings:AppResource.FetchingActions}"

                        IsVisible="True"

                        Frame="150,150,150,150"

                        />

                    <core:SfBusyIndicator

                        IsRunning="True"

                        IndicatorColor="Black"

                        BackgroundColor="Red"

                        IsEnabled="True"

                        HorizontalOptions="CenterAndExpand"

                        Title="{x:Static strings:AppResource.FetchingActions}"

                        IsVisible="True"

                        />

                    <core:SfBusyIndicator

                        IsRunning="True"

                        MinimumHeightRequest="50"

                        HeightRequest="80"

                        AnimationType="CircularMaterial"

                        IndicatorColor="Red"

                        TextColor="BlueViolet"

                        HorizontalOptions="Center"

                        Title="hallo world"

                        IsVisible="True"

                        />

                    <Label Text="foo bar"/>

                    <Label Text="{x:Static strings:AppResource.FetchingActions}"/>



3 Replies

BV Brundha Velusamy Syncfusion Team August 27, 2024 07:06 AM UTC

Hi Ryunosuke Jansen,


We recommend utilizing HeightRequest and WidthRequest in the SfBusyIndicator control to overcome the reported issue, "Busy Indicator is not showing up at all". We have created the sample based on this and attached the sample for your reference. Please review the attached sample and feel free to reach out if you have any further questions.


Here's an example code snippet:

<StackLayout>

    <core:SfBusyIndicator 

          IsRunning="True" 

          HeightRequest="200" WidthRequest="200" 

          AnimationType="{OnPlatform CircularMaterial, iOS=Cupertino, Android=CircularMaterial}" 

          HorizontalOptions="CenterAndExpand" 

          Title="loading.." 

          IsVisible="True" 

          Frame="150,150,150,150"/> 

    <core:SfBusyIndicator 

         

</StackLayout>


Regards,

Brundha V


Attachment: BusyIndicator_Visibility_27d2a688.zip


RJ Ryunosuke Jansen August 27, 2024 08:49 AM UTC

Oh wow.... what a simple fix! I can't believe I didn't try that!!!

Thank you very much!



PR Preethi Rajakandham Syncfusion Team August 27, 2024 10:20 AM UTC

Hi Ryunosuke Jansen,

You're welcome. 

We are glad that the provided response meets your requirement. We will mark this thread as solved. Please let us know if you need further assistance. As always, we are happy to help you out. 

Regards,

Preethi R


Loader.
Up arrow icon