Creating an Adaptive Layout

  • Adam Freeman


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.


Pixel Density Native Orientation Landscape Orientation Bitmap Image Device Orientation 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Adam Freeman 2012

Authors and Affiliations

  • Adam Freeman

There are no affiliations available

Personalised recommendations