You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: Full description of the issue here
When a custom theme for the DatePicker is used, "colorSurface" is ignored despite the fact of "colorPrimary", "colorOnPrimary" and "colorOnSurface" working properly.
Expected behaviour: Screenshots and/or description of expected behaviour
Attribute "colorSurface" from overwritten DatePicker theme should be used instead of the main theme "colorSurface".
Source code:
Android API version: 29
Material Library version: 1.2.0-alpha02
Device: Pixel 3 XL
The text was updated successfully, but these errors were encountered:
Thanks for reporting this issue. My guess is that this is because we're calling getContext() again to read the colorSurface attribute, instead of using the Dialog's context which is wrapped using the DatePicker theme:
Uh oh!
There was an error while loading. Please reload this page.
Description: Full description of the issue here
When a custom theme for the DatePicker is used, "colorSurface" is ignored despite the fact of "colorPrimary", "colorOnPrimary" and "colorOnSurface" working properly.
Expected behaviour: Screenshots and/or description of expected behaviour
Attribute "colorSurface" from overwritten DatePicker theme should be used instead of the main theme "colorSurface".
Source code:

Android API version: 29
Material Library version: 1.2.0-alpha02
Device: Pixel 3 XL
The text was updated successfully, but these errors were encountered: