Chapter    9

Glass User Interface Essentials

In the previous chapter, we created Glassware with the GDK and learned to implement immersions, which are experiences that run independently of the timeline as a collection of one or more activities. However, our examples had unsightly user interfaces because they used TextViews with a default appearance that is intended for use with handheld devices. In this chapter, we’ll start by learning to use the CardBuilder class to create interfaces with an appearance that matches the rest of the Glass platform. Then, we’ll cover another common pattern for Glassware, ongoing tasks, in which content that updates in real-time is inserted directly into the timeline. In contrast to immersions, users can still navigate ...

Get Beginning Android Wearables 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.