简体   繁体   English

在WP7上缩放到多种分辨率有哪些局限性

[英]What are the limitations of scaling to multiple resolutions on WP7

I 'am developing an app targeted to WP7.1 but I want it to work well on WP8 devices too. 我正在开发针对WP7.1的应用程序,但我也希望它在WP8设备上也能正常工作。 Assuming creating layout using dynamic resizng elements (grids with auto height etc) will the app scale just like WP8 app under Windows Phone 8 (WP8 handles WVGA HD WXGA resolutions)? 假设使用动态调整元素(带有自动高度的网格等)创建布局,该应用程序是否可以像Windows Phone 8(WP8处理WVGA HD WXGA分辨率)下的WP8应用程序一样缩放? If yes, is this possible to get a exact screen size under WP7 and what about in-app images in high resolution? 如果是,是否可以在WP7下获得确切的屏幕尺寸以及高分辨率的应用程序内图像呢? If not, should I build 2 different apps to handle scaling well? 如果没有,我应该构建2个不同的应用程序来很好地进行扩展吗? One for WP7 and another for WP8 (even if the only change is build target?) 一个用于WP7,另一个用于WP8(即使唯一的更改是构建目标?)

WP7 only supports 800x480 resolution and will automatically scale on WP8. WP7仅支持800x480分辨率,并将在WP8上自动缩放。

WP7 app cannot however do any resolution dependant tweaks when app runs on WP8. 但是,当应用程序在WP8上运行时,WP7应用程序将无法执行任何与分辨率相关的调整。 You need to recompile it to WP8 您需要将其重新编译为WP8

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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