Windows Phone 7.x Silverlight应用程序可以在HD 720p设备上伸展(删除黑条)吗? [英] Windows Phone 7.x Silverlight App stretch on HD 720p device (remove black bar)?

查看:62
本文介绍了Windows Phone 7.x Silverlight应用程序可以在HD 720p设备上伸展(删除黑条)吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写了一个可以兼容WP 7.x和WP 8的应用程序.通过"C#Reflector",我可以检索有关WP版本和屏幕类型(WVGA,WXGA,HD720p)的信息.但是我无法在HD 720p设备中扩展我的应用程序.我试过设置TranslateTransform 到RootFrame.RenderTransform和RootFrame的大小.但是,当应用程序的页面为横向时,布局不正确.我该怎么办???

解决方案

您不能.  您需要将您的应用升级到Windows Phone 8应用,才能在720p显示屏上使用全屏.  这是因为WP7应用程序仅适用于一个长宽比.   720p具有不同的宽高比.


I write an application can compatible both WP 7.x and WP 8. By "C# Reflector", i can retrieve information about WP version and Screen type (WVGA, WXGA, HD720p). But i can't stretch my application in HD 720p Device. I tried set TranslateTransform to RootFrame.RenderTransform and size of RootFrame. But it incorrect layout when Application's Page is Landscape. How can i do this??? 

解决方案

You can't.  You need to upgrade your app to a Windows Phone 8 app in order to use the full screen on 720p displays.  This is because WP7 apps were made for only one aspect ratio.  720p has a different aspect ratio.


这篇关于Windows Phone 7.x Silverlight应用程序可以在HD 720p设备上伸展(删除黑条)吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
其他开发语言最新文章
热门教程
热门工具
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆