I have two themes Theme.MaterialComponents.Light.DarkActionBar
, and Theme.MaterialComponents
. My date picker dialog is looking as expected for the first theme but for the dark theme, it shows a white background. Any ideas to make it look as expected??
Expected : I want a dark background in the second image
As suggested in this answer Material Components theme dialog buttons go puffy after changing theme of Application
I used Theme.MaterialComponents.Bridge instead of Theme.MaterialComponents as parent in my dark theme.