Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

(Difference between revisions)

Mobile Design Pattern: Slider Control

From Wiki
Jump to: navigation, search
hamishwillee (Talk | contribs)
m (Hamishwillee - Tidy wiki text)
hamishwillee (Talk | contribs)
m (Text replace - "Category:Mobile Design" to "")
Line 1: Line 1:
[[Category:Mobile Design]][[Category:Mobile Design Patterns]]
[[Category:Mobile Design Patterns]]
{{ArticleMetaData <!-- v1.1 -->
{{ArticleMetaData <!-- v1.1 -->
|sourcecode= <!-- Link to example source code e.g. [[Media:The Code Example]] -->
|sourcecode= <!-- Link to example source code e.g. [[Media:The Code Example]] -->

Latest revision as of 06:06, 16 April 2012

Article Metadata
Created: User:Yiibu (06 May 2009)
Last edited: hamishwillee (16 Apr 2012)

This design pattern is part of the Mobile Design Patterns series.


[edit] Description

A control which enables the user to choose one distinct value within a finite range by dragging (or simulating the dragging) of) one or more sliders along a single axis.

[edit] Advantages

  • Highly visual and intuitive — especially when representing a familiar scale of values.

[edit] Disadvantages

  • Only suitable when the list of values is short and there is enough context to make an informed decision regarding the likely impact of the chosen increment.

[edit] Use when

  • The user’s mental model of a series of values is closely tied to an increasing or decreasing scale and limited amount of discrete values. Ex. Controls to increase/decrease brightness, contrast, intensity or volume.

[edit] Use how

[edit] Direct manipulation

  • The slider works in a similar manner to a real-world physical control. The user presses on the slider handle (to simulate grasping) then (while continuing to press), drags the handle to the desired incremental stop position.
  • A two-handle control can also be used (on touch devices only) to set a range of values. In this case, one slider provides the minimum value and the other the maximum value—thereby creating a range.

[edit] Indirect manipulation

  • The slider handle is either provided with immediate focus or the user can focus the control then manipulate it. (see example below)
  • The slider handle is mapped to the Left/Right keys (for a horizontal control) or Up/Down keys (for a vertical control).
  • Each click of the keys moves the slider handle by one pre-set increment.
  • Holding 'Down' may automatically repeat the adjustment until the key is released.


Figure: The S60 Equalizers must each be focused before they can be manipulated.

[edit] Design Tips

  • Adding tick marks (or other visual way points) enables users to more accurately gauge the incremental change in values.
  • Pairing the slider with a visual representation of the change in value can also be useful. Ex. A Real-time RGB colour picker updates the colour values in real time as you manipulate each slider.


Figure: Various sliders in use within S60; each providing varying degrees of feedback. The ‘Ringing Volume’ control functions in a in a similar manner but does not provide an actual slider—only the accompanying ‘increasing scale’ visualization.


Figure: Examples of Qt embedded widget sliders for touch devices.

This page was last modified on 16 April 2012, at 06:06.
57 page views in the last 30 days.