material-components / material-components/material-components-android
[TimePicker] MaterialTimePicker without dialog
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
Date and time pickers sometimes need to be embedded in the UI rather than shown in dialogs - e.g. during an onboarding procedure where dialogs just don't work very well. However the `MaterialTimePicker` is just available in a dialog version. The old system `TimePicker` used to be available in an embeddable format as well.
**Describe the solution you'd like**
Provide `MaterialTimePicker` and `MaterialDatePicker` as embeddable versions without the need to spawn a dialog.
**Describe alternatives you've considered**
For now I will use the old system `TimePicker`, but it looks really old fashioned and can't be styled nicely.
**Additional context**
N/A
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing MaterialTimePicker and MaterialDatePicker entry points and how their dialog versions are exposed. Compare their current APIs with the embeddable behavior requested in the issue, then verify that both pickers can be used without spawning a dialog and retain their Material styling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- design, mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100