Glass User Interface Essentials

  • Andres Calvo


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  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 through timeline items while using ongoing tasks. Finally, we'll learn about a class called Slider that lets Glassware display progress and status.


Ongoing Task Menu Item Battery Level Voice Command Option Menu 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Andres Calvo 2015

Authors and Affiliations

  • Andres Calvo
    • 1
  1. 1.OHUnited States

Personalised recommendations