material-components / material-components/material-components-android
[Width for DatePicker] Customise width 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 width for the material3 date picker, but unable to do so.
The width of date picker - I want to increase the width of date picker so that the date picker occupy full width of screen with a padding of 16dp from the edge of the screen.
Expected behavior:
Width of date picker should be customizable.
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 locating the Material3 date picker entry point and inspecting how its width is currently constrained. Completion means allowing the picker width to be customized so it can fill the screen with 16dp edge padding; the issue names no implementation file or test, so identify the relevant Android tests while tracing the component.
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
- 35/100