Glass Developers

Metrics and Grids

The Glass user interface has standard layout and margin guidelines for different types of timeline cards. Cards normally have the following general regions, and we've laid out some guidelines for you to follow for a general set of cards.

Card regions

Glass defines dimensions for a set of common regions to make it easy to design and display different cards consistently.

Main Content

The main text content of the card is in Roboto Thin and is bounded by padding.

Glass dynamically resizes the font size based on the amount of content.

Full-bleed image

Images work best when full-bleed and do not require the 40px of padding that text requires.

Footer

The footer shows supplementary information about the card, such as the source of the card or a timestamp. Footer text is usually 26 pixels, Roboto Light, white (#ffffff) in color, and centered.

Status bar

The status bar has 3 states. Slider shows the current location in a set of cards. Progress or grace period shows progress or time to cancel an action. Candy cane animates in a loop while processing.

Left image or column

Left image or columns require modifications to padding and text content. See the left image and column templates for the complete grid.

Padding

Timeline cards have 40 pixels of padding on all sides for the text content. This allows most people to see your content clearly.

Layout templates

The following layouts show you how some common layout grids and cards that implement the layout. See the Mirror API playground for full implementation details.

Main layout

Full bleed with text

Author and content

Left image or column

List

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.