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

[MaterialDatePicker] Dynamic Theme at runtime

Open
#2,586 7 comments 2 reactions 0 assignees View on GitHub
feature request Widget: DatePicker
Dominant language
Java
Stars
17.4k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

I have a `MaterialDatePicker` and it correctly infers the colours from my theme. However, I'd like to customize the theming at runtime with dynamic values that I can't put into XML files.

Would it be possible to theme MaterialDatePicker when creating it?

Contributor guide

Open the contributing guide

Research direction

Start at the MaterialDatePicker creation and theming APIs referenced by the issue. No files or tests are named, so first trace how the picker currently obtains theme colors and identify the supported path for runtime values. Done means the requested runtime customization is supported or its limitation is clearly documented, with coverage for the resulting behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
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.