[UWP]用于手机的SplashScreen错误地适合肖像。 [英] [UWP] SplashScreen for phone scales wrongly to fit portrait.

查看:90
本文介绍了[UWP]用于手机的SplashScreen错误地适合肖像。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的通用Windows Phone应用程序的启动画面在纵向模式下无法正确显示,而是使用我指定的背景颜色(白色)显示我的风景闪屏几秒钟,然后将其缩放到适合屏幕,并将
的背景更改为黑色。

The Splash Screen for my Universal Windows Phone app doesn't show correctly in portrait mode, instead it shows my landscape splash screen for a couple seconds with the background color I specified (white), then it scales it to fit the screen, and changes the background to black.

我对Visual Studio和UWP应用程序开发非常陌生。在Package.appxmanifest文件中,我只能看到添加景观启动画面的选项。没有选项可以添加应该由我的应用程序使用的肖像分辨率(因为
它仅适用于该方向)。

I'm quite new to Visual Studio and UWP app development. In the Package.appxmanifest file I can only see the option to add a landscape splash screen. There is no option to add the portrait resolution that is supposed to be used by my app (since it only works in that orientation).

如何添加肖像或者只是阻止它缩放横向的? (我会满意的:P)

How can I add a portrait one or just prevent it from scaling the horizontal one? (I would settle with that :P)

谢谢你:D

推荐答案

Hello Carles ,

Hello Carles,

你能告诉我更多关于你的闪屏的情况吗?

Can you tell me more about how your splashscreen is?

通常你的闪屏只包含一个透明背景颜色的图像(.png)。

Normally your splashscreen contains only an image (.png) with transparent background color.

这些图像的不同大小在包清单文件中。

The differents sizes of these images are in the package manifest file.


这篇关于[UWP]用于手机的SplashScreen错误地适合肖像。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆