Although textColorSecondary and colorOnSurfaceVariant represent the same color, colorOnSurfaceVariant is more comprehensible in the code context (since it's used for images, not text), so I have replaced textColorSecondary with colorOnSurfaceVariant.
Because the default style of MaterialCardView is Outlined, there's no need to explicitly write those properties.
Previously
Now
Although
textColorSecondary
andcolorOnSurfaceVariant
represent the same color,colorOnSurfaceVariant
is more comprehensible in the code context (since it's used for images, not text), so I have replacedtextColorSecondary
withcolorOnSurfaceVariant
.Because the default style of
MaterialCardView
is Outlined, there's no need to explicitly write those properties.