Closed dkiktenko closed 1 year ago
dayTodayStyle
is not a theme attribute, it's meant to be set in the date picker style, so it wouldn't take effect when overridden in a theme overlay. Overriding dayTodayStyle
in a custom style should work. See the recommended approach outlined in this issue.
Also, I'm not sure what exact colors you're trying to set in your override of dayTodayStyle
, but you should probably set itemTextColor
and itemStrokeColor
directly.
Description: With the source code provided below, the current date's style remains unchanged [compared to default]
Expected behavior: Outline color, width changes from default
Source code: In a module's styles.xml file, I have the following defined:
In my fragment:
NOTE: To reproduce, after dialog opens, change the selected date from any other date than today (since current default is that dialog opens with today selected).
Android API version: Android API 28 and 33
Material Library version: Material Android Library version 1.8.0
Device: Pixel 4, Pixel 6