From the course: Developing UWP Apps: 7 Toasts, Tiles, and Push Notifications
Unlock this course with a free trial
Join today to access over 22,400 courses taught by industry experts.
Adaptive styling
From the course: Developing UWP Apps: 7 Toasts, Tiles, and Push Notifications
Adaptive styling
- [Instructor] The other cool thing about adaptive tiles in the universal Windows platforms is this concept of Adaptive Styling. Adaptive tiles, you use adaptive styles to control the fonts, size, color, and weight of text elements and can scale them and render them across devices easily. For example, we might give hint style as caption, and the font weight is always going to be tegular. Then font height will be 12 effective pixels. It's called Zoe. Depending on the device and accessibility, values, and different things like that, we might worry about things setting squished or having to hard coat a font size if we just say 12f effective pixels, it's going to render appropriately in the comparison to other elements on the screen. - SO we can leverage these adaptive styles, caption, body, base, subtitle, title, sub header and header and have a consistent experience across devices, across screen resolutions and feel confident that the layout will adapt it's self appropriately base on…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.