Windows 8 开发31日-第02日-Orientation和snap
第02日-Orientation和snap:今天我们来谈谈屏幕尺寸,以及为什么在Windows 8开发中,它很重要。本文的第一部分,我将讨论orientation,基于用户手持设备的方法,使用一些简单的方法,我可以让我的程序更加有用。第二部分,我将介绍在“snapped”状态下的应用程序,以及如何修改界面以适应更小的屏幕尺寸。
Orientation和snap非常重要:如果在程序中,你不考虑它们,那么你的程序不会被提交到Windows Store中。
下面是Windows 8 app certification requirements中的section3.6:
Your app must support a snapped layout. In landscape orientation, your app’s functions must be fully accessible when the app’s display size is 1024 x 768. Your app must remain functional when the customer snaps and unsnaps the app.
这里说的是我们的应用程序需要支持3中可是状态,最低要求:
[*]1024 x 768 (最小的屏幕分辨率 & filled state)
[*]320 x 768 (snapped)
[*]默认的分辨率一般是1366 x 768
PDF下载地址:
第02日-Orientation和snap
更多内容请浏览下面链接:
Windows 8 开发31日
页:
[1]