How to add a busy indicator on the splash screen of Xamarin.Android app?

Yongqing Huang 241 Reputation points
2022-01-27T09:34:14.35+00:00

Hi,

I need a busy indicator on the splash screen of Xamarin.Android app, because the launching van de app takes about 7 seconds.

Could you give me an example for this?

Thanks in advance!

Developer technologies | .NET | Xamarin
{count} votes

Accepted answer
  1. JarvanZhang 23,971 Reputation points
    2022-01-28T07:42:38.307+00:00

    Hello,​

    Welcome to our Microsoft Q&A platform!

    The user waits 7 seconds with static splashscreen.png. It is a little boring.

    You could create a layout file to display the progressbar. And then set contentView for the Splash Activity as a normal activity.

    Here is a similar issue thread about setting a layout for the splash Activity, you could refer to it.
    https://stackoverflow.com/questions/27987195/xamarin-splash-screen-using-a-layout

    Best Regards,

    Jarvan Zhang


    If the response is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.