material-components / material-components/material-components-android
[Height for DatePicker] Customise height for the material3 date picker
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
**Description:**
I want to customize the height for the material3 date picker, but unable to do so, when switching to year selection UI, the height of date picker dialog changes as well - is it possible to keep the height of the dialog same when switching to year selection UI.
Height of date picker - when switching from date selection to year selection, the height of date picker increases. How to keep the height same when switching between date & year selection?
**Expected behavior:**
Height should be customizable in year selection mode for date picker
**Android API version:** Android 21
**Material Library version:** 1.8.0
**Device:** Pixel 8 Pro & other android devices
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 reproducing the Material 3 date picker behavior on Android API 21 with Material Library 1.8.0, switching between date and year selection. Investigate the date picker entry point and its dialog sizing behavior; done means the dialog height remains customizable and consistent in year selection mode without disrupting date selection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- design, mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100