material-components / material-components/material-components-android

[TimePicker] MaterialTimePicker without dialog

Open
#1,799 3 comments 29 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request Widget: TimePicker
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.