Menus
Cards and immersions usually have menu items that users can tap or speak to invoke actions. Glass allows you to use built-in menu items or create your own custom ones.
How it works
Menus are the main way users invoke actions related to a card or immersion such as reply or read aloud. Users tap on a card or immersion to reveal the menu and can scroll left and right to view possible actions.
The Glass home menu is a special menu since it has commonly used system actions such as taking pictures and recording video. You can also insert your own command to launch your Glassware. Users can invoke the Glass home menu through voice and touch.
Glass follows these general rules when displaying menu items:
- Menu items always have an associated icon that is all white in color. The icon is 50 × 50 pixels and fills as much of the dimensions as possible.
- The text is short enough to fit on the display (does not show an ellipsis). This is about 15 characters long.
- The text is sentence case.
- The text uses an imperative verb, with or without an object. For example, Share or Take a picture.
Confirmation and acknowledgment
When users tap on menu items, confirmation and acknowledgment of the tap gives them clues as to what stage the action is in. Glass gives both visual and audio cues to users in these general situations:
Input received - This is usually displayed as the menu item being dismissed and animating downwards on the screen. Glass also plays a noise depending on what menu items users select.
Grace period - This is displayed as a white horizontal bar that fills to the right until the action is executed.
Many times, users have the option to cancel the action during this stage by swiping down.
Task finished - This is sometimes displayed as a check mark next to the menu item's title or the menu item just animating down and off the screen. Glass also plays a sound when an actions completes.