cketcham efbb3e667e Fix header spacing for Slider doc
PiperOrigin-RevId: 274169443
2019-10-21 10:20:05 -04:00

40 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!--docs:
title: "Slider"
layout: detail
section: components
excerpt: "Sliders allow users to make selections from a range of values."
iconId: slider
path: /catalog/slider/
-->
# Slider
Sliders allow users to make selections from a range of values.
## Design
[Material Design: Slider](https://material.io/go/design-sliders)
## Continuous slider
Continuous sliders allow users to make meaningful selections that dont require
a specific value.
## Discrete slider
Discrete sliders display a numeric value label upon pressing the thumb, which
allows a user to input an exact value.
## Demo
The slider is under active development. You can see the current version of
the
[Slider Demo](https://github.com/material-components/material-components-android/tree/master/catalog/java/io/material/catalog/slider/)
in the Material Android Catalog.
## Code
The
[Slider Package](https://github.com/material-components/material-components-android/tree/master/lib/java/com/google/android/material/slider)
contains the code for this component.