Hi,
W10 Mobile offers to make extended splashscreen. I use Template10 and their guideline to make extended splashscreen. I have 3 images of sizes: 620x300, 1240x600, 2480x1200px. Extended splashscreen is working fine, but I'would like to animate the image from
center to bottom. Here is the code of setting up the image:
SplashScreenImage.SetValue(Canvas.LeftProperty, SplashScreen.ImageLocation.X);
SplashScreenImage.SetValue(Canvas.TopProperty, SplashScreen.ImageLocation.Y);
if (Windows.Foundation.Metadata.ApiInformation.IsTypePresent("Windows.Phone.UI.Input.HardwareButtons"))
{
SplashScreenImage.Height = SplashScreen.ImageLocation.Height / ScaleFactor;
SplashScreenImage.Width = SplashScreen.ImageLocation.Width / ScaleFactor;
}
else
{
SplashScreenImage.Height = SplashScreen.ImageLocation.Height;
SplashScreenImage.Width = SplashScreen.ImageLocation.Width;
}
Height is 731 effective pixels and Width is 411 effective pixels. But the image is center, and I would like to get the sizes of centered image. I'm not sure, what Windows does. If he scales the image.
Thanks for help