Hour 13. Working with Fullscreen, Filled, Snapped, and Portrait Views
What You’ll Learn This Hour:
• Using the simulator to test the portrait state
• Detecting the view state and reacting using JavaScript
• Using CSS media queries to handle different view state
• Making apps look great in every view state
A Windows Store app needs to both look great and function great in many different layouts. Our apps need to be able to handle being snapped to a 320-pixel-wide space (the same width as most mobile devices) and also handle fullscreen and filled modes. Apps are not required to work in the portrait view state to pass certification, but effort should be made to make them work so the user isn’t forced to change preferred orientation.
Windows 8 ...
Get Sams Teach Yourself Windows® 8 Apps with JavaScript and HTML5 in 24 Hours 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.