dniz 75d079442f Update Picker doc
PiperOrigin-RevId: 257633214
2019-07-11 14:39:14 -04:00

31 lines
1.3 KiB
Markdown

<!--docs:
title: "Pickers"
layout: detail
section: components
excerpt: "Pickers are modals that request a user choose a date or time."
iconId: picker
path: /catalog/picker
-->
Warning: The Picker API is not stable, yet. Expect significant changes to class names, theme names, style names, attributes, and customization options.
## Date Pickers
Date Pickers allow users to select a single date or date range.
## Design
[Material Design: Pickers](https://material.io/design/components/pickers.html)
## Demo
Date Pickers are under active development. You can see the current version of the [Material Picker Demo](https://github.com/material-components/material-components-android/tree/master/catalog/java/io/material/catalog/picker/PickerMainDemoFragment.java) in the Material Android Catalog. The demo launches and listens to material pickers with customization options for dialog and fullscreen.
## Code
The [Picker Package](https://github.com/material-components/material-components-android/tree/master/lib/java/com/google/android/material/picker) contains most of the code for this component, with the main entry point being [Date Range Pickers](https://github.com/material-components/material-components-android/tree/master/lib/java/com/google/android/material/picker/MaterialDatePicker.java).
## Time Pickers
Time Pickers are currently not under development.