https://kotlinlang.org logo
Title
i

Ivan Pavlov

03/31/2022, 5:59 PM
I try to use outlined icons, but they are always filled. Does anyone know what am I doing wrong?
Icon(
    imageVector = Icons.Outlined.Star,
    contentDescription = "contentDescription",
)
l

Louis Pullen-Freilich [G]

03/31/2022, 6:06 PM
The source of truth here is the Google Fonts Icons page: https://fonts.google.com/icons?selected=Material+Icons&icon.query=star&icon.style=Outlined So it looks like the ‘outlined’ variant of the star icon, is
StarBorder
or
StarOutline
i

Ivan Pavlov

03/31/2022, 6:53 PM
Thanks, that explains a lot 🙂 Developer should not suppose that outlined icons are actually outlined 😄