Skip to content

Commit fba1a34

Browse files
committed
[M3][DatePicker] Fix M3 date picker styles
Some attributes were wrongly added to the styles. We need to remove them to make the color correct. PiperOrigin-RevId: 409241943
1 parent cc18f3f commit fba1a34

File tree

1 file changed

+1
-3
lines changed
  • lib/java/com/google/android/material/datepicker/res/values

1 file changed

+1
-3
lines changed

lib/java/com/google/android/material/datepicker/res/values/styles.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,6 @@
234234

235235
<style name="Widget.Material3.MaterialCalendar.HeaderCancelButton" parent="Widget.Material3.Button.TextButton">
236236
<item name="iconTint">?attr/colorOnSurfaceVariant</item>
237-
<item name="rippleColor">@color/m3_button_ripple_color</item>
238237
<item name="materialThemeOverlay">@style/ThemeOverlay.Material3.MaterialCalendar.HeaderCancelButton</item>
239238
</style>
240239

@@ -306,7 +305,6 @@
306305
<item name="itemFillColor">?attr/colorPrimary</item>
307306
<item name="itemTextColor">?attr/colorOnPrimary</item>
308307
<item name="itemStrokeWidth">0dp</item>
309-
<item name="itemStrokeColor">?attr/colorPrimary</item>
310308
</style>
311309

312310
<style name="Widget.Material3.MaterialCalendar.Year.Today">
@@ -327,7 +325,7 @@
327325
</style>
328326

329327
<style name="ThemeOverlay.Material3.MaterialCalendar.HeaderCancelButton" parent="ThemeOverlay.Material3.Button.TextButton">
330-
<item name="colorOnContainer">?attr/colorOnSurfaceVariant</item>
328+
<item name="colorOnContainer">?attr/colorOnSurfaceVariant</item>
331329
</style>
332330

333331
</resources>

0 commit comments

Comments
 (0)