Animated splash screen


I’m trying to create animated splash screen on Android (loading screen). With new project, it’s just
static image with Monogame logo.

<item name="android:windowBackground">@drawable/splash</item>

I can create drawable with animated-list instead:

<animation-list xmlns:android=""
  <item android:drawable="@drawable/logo2"
    android:duration="100" />
  <item android:drawable="@drawable/Move"
    android:duration="100" />

but how to detect that I should stop animation ? I want to make it infinity, and when game’s view is visible I should stop it. Any callback when game is visible ?


Unless you mean when you switch between the menu mode and your running game mode.
Then the solution is straight forward just simply dont update or draw the splash screen.

Probably it’s not this one

Indicates whether the game is currently the active application.

Any other ideas ?