CHAPTER 6

images

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 ...

Get Pro Windows 8 Development with HTML5 and JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.