Skip to content

Commit 3fc53ac

Browse files
pekingmeleticiarossi
authored andcommitted
[Shape][Chip] Migrate M3 chip styles to new shape system.
PiperOrigin-RevId: 447526976
1 parent 25606cf commit 3fc53ac

File tree

1 file changed

+2
-1
lines changed
  • lib/java/com/google/android/material/chip/res/values

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@
151151
<style name="Base.Widget.Material3.Chip" parent="Base.Widget.MaterialComponents.Chip">
152152
<item name="enforceTextAppearance">false</item>
153153
<item name="android:textAppearance">?attr/textAppearanceLabelLarge</item>
154-
<item name="shapeAppearanceOverlay">@style/ShapeAppearanceOverlay.Material3.Chip</item>
154+
<item name="shapeAppearance">?attr/shapeAppearanceCornerSmall</item>
155+
<item name="shapeAppearanceOverlay">@null</item>
155156
<item name="android:textColor">@color/m3_chip_text_color</item>
156157
<item name="closeIconTint">@color/m3_chip_text_color</item>
157158
<item name="chipStrokeColor">@color/m3_chip_stroke_color</item>

0 commit comments

Comments
 (0)