简体   繁体   中英

How to animate image in splash screen for windows phone?

I am working on windows phone app in which I need to animate an object in the splash screen. In the below image you can see that, as soon as the splash screen appears. The ball.png bounces and only after completing the bounce, the app continues into the application. How to do this task?

在此输入图像描述

You have to follow thoses steps to create an animated splashscreen :

  • You have to create a new Page on your application (called SplashScreen.xaml) and set it as your 'HomePage'.
  • You create a storyboard to build your animation.
  • You subscribe to the Loaded event of the SplashScreen page, and start your storyboard .
  • When the storyboard is done (subscribe to the Completed event), you can navigate to your Homepage.

Hope it helps !

Use Extended Splash Screen and set the animation to the image. For more details visit here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM