티스토리 뷰

카테고리 없음

Components - Lists: Controls

알 수 없는 사용자 2015. 9. 6. 02:34

출처 : http://www.google.com/design/spec/components/lists-controls.html#lists-controls-types-of-menu-controls


     Types of list controls

Checkbox

A checkbox can either be a primary action or a secondary action.

Type: primary action/state

Desktop checkboxes should appear only on hover and focus.  

The checkbox is the primary action and the state indicator for the list item.

Type: secondary action

Separate target

When controlling a family of variables, consider using switches instead.

The checkbox is the secondary action for the list item.

Switch

Type: secondary action

Separate target

The switch is the secondary action and separate target.

Reorder

Type: secondary action

Usually a separate target, depending on which mode list it is in.

Allows dragging of the list item to other locations within the list. It usually appears in list editing mode.

The reorder icon is the secondary action for the list item.

Expand/collapse

Type: secondary action

Separate target

Expands and collapses a list view vertically to show and hide details of existing list items.

By touching the list control, the user expands the list.

The list is expanded.

Collapsed single-line item.

Expanded single-line item.

Leave-behinds

Type: Other

A leave-behind is an informative hint as to what swiping a list item away will do to that item. The leave-behind can transform into an action.

Swiping on a list item from either direction will reveal an icon indicating the action. After swiping, a follow-up action can appear as a text button within the space of the list item.

Swiping on a list item from right to left will reveal an icon indicating the action.

Swiping on a list item from left to right will reveal an icon indicating the action.

Types of menu controls

A menu is a special type of list. In menus, use controls that are appropriate for dropdown menus, overflow menus, and so on. Don’t use these controls in regular lists. Use the regular list controls instead.

Check

Type: state

Not a separate target.

Menus only. Indicates that the list item has been selected. The selection is done through a different control.

The check indicates that the list item has been selected.

Inline information

Type: secondary info

Not a separate target.

Menus only. Inline information is a small snippet of text related to the line title that can provide information or a tip, like a keyboard shortcut. It cannot be truncated.

The inline information for Bold, Italic and Underline provide keyboard shortcuts.

Nested menu indicator

Type: primary action

Not a separate target.

Menus only. The glyph indicates that a secondary menu will fly out upon hover, focus, and/or selection.

The glyphs for the menu items indicate that a secondary menu will fly out upon hover, focus, and/or selection.


댓글
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday