File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed
Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -426,16 +426,7 @@ date pickers and affect other components:
426426 ...
427427 <item name =" colorPrimary" >@color/shrine_pink_100</item >
428428 <item name =" colorOnPrimary" >@color/shrine_pink_900</item >
429- <item name =" shapeAppearanceSmallComponent" >@style/ShapeAppearance.App.SmallComponent</item >
430- <item name =" shapeAppearanceMediumComponent" >@style/ShapeAppearance.App.MediumComponent</item >
431- </style >
432-
433- <style name =" ShapeAppearance.App.SmallComponent" parent =" ShapeAppearance.Material3.SmallComponent" >
434- <item name =" cornerFamily" >cut</item >
435- </style >
436-
437- <style name =" ShapeAppearance.App.MediumComponent" parent =" ShapeAppearance.Material3.MediumComponent" >
438- <item name =" cornerSize" >16dp</item >
429+ <item name =" shapeCornerFamily" >cut</item >
439430</style >
440431```
441432
@@ -451,11 +442,10 @@ all date pickers but do not affect other components:
451442<style name =" ThemeOverlay.App.DatePicker" parent =" @style/ThemeOverlay.Material3.MaterialCalendar" >
452443 <item name =" colorPrimary" >@color/shrine_pink_100</item >
453444 <item name =" colorOnPrimary" >@color/shrine_pink_900</item >
454- <item name =" shapeAppearanceSmallComponent" >@style/ShapeAppearance.App.SmallComponent</item >
455- <item name =" shapeAppearanceMediumComponent" >@style/ShapeAppearance.App.MediumComponent</item >
445+ <item name =" shapeCornerFamily" >cut</item >
456446 <!-- Customize text field of the text input mode. -->
457447 <item name =" textInputStyle" >@style/Widget.App.TextInputLayout</item >
458- </style >
448+ </style >
459449```
460450
461451Set the theme in code, which affects only this date picker:
You can’t perform that action at this time.
0 commit comments