Creating an Adaptive Layout
In Chapter XXX, I showed you how to create a layout for your app using the Metro support for the single-page content model. In this chapter, I show you how to make that layout adapt to different views and orientations. Views are available on most Windows 8 devices and allow the user to select different ways to interact with an app—including having two Metro apps run side by side. Orientations arise on devices that can be held in different positions or are easily rotated and that are equipped with a sensor to report on their state. You need to think carefully about how you will accommodate different views and orientations in your app to create a first-class Metro experience.
KeywordsPixel Density Native Orientation Landscape Orientation Bitmap Image Device Orientation
Unable to display preview. Download preview PDF.