Skip to main content
  • 999 Accesses

Abstract

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Adam Freeman

About this chapter

Cite this chapter

Freeman, A. (2012). Creating an Adaptive Layout. In: Pro Windows 8 Development with HTML5 and JavaScript. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4402-8_6

Download citation

Publish with us

Policies and ethics