top margin issue for windows phone 7 apps on windows phone 8

The windows phone 7 application which I developed using 7.1 SDK occupies the entire screen on wp7. But the same application when opened in Windows Phone 8 shows some extra margin on top because of which my app was not able use the space on top. Any idea how to fix this?


WP7 only supports only one resolution (480x800).

For 480x800 WP8 devices that's obviously fine.

For 1280x768 devices this scales fine as this is the same aspect ratio.

However 1280x720 devices have a different aspect ratio which leaves the black bars at the top of the screen.

The only way to fix this is to upgrade your project to WP8 using the WP8 SDK (whilst watching out for any subtle issues that may bring).

链接地址: http://www.djcxy.com/p/95998.html

上一篇: Windows Phone 7应用程序与Windows Phone 8设备兼容吗?

下一篇: Windows Phone 8上的Windows Phone 7应用程序的顶边距问题