I'm a little confused. I'm trying to access M3 Ico...
# compose-android
t
I'm a little confused. I'm trying to access M3 Icons shown at (https://fonts.google.com/icons). In particular the two radio button states shown. But when I try to refer to Icons.Default.RadioButton... it doesn't complete or anything like that seem to exist. I'm using the latest compose BOM plus M3.
b
i
or extended for extremely large icons library
b
Make sure you are running R8 minification in your release build as well to remove all the ones you aren't using
t
Extended did the trick. Odd that radio buttons wasn't in the "core", but ok. Thanks for the minification hint
c
Is it not in core?
cc @Louis Pullen-Freilich [G] as I’m not sure how synchronized the Compose icon libraries are with the Material Symbols library online
l
Material symbols aren't supported currently, only the older Material icons set
Core icons are the most commonly downloaded icons, and then also any icons required / recommended for use with material components. (E.g the menu icon, since you normally need a menu icon in the app bar) Radio button isn't a core icon because in most cases you can just use the RadioButton component, and set it to be uninteractable - that way it will still correctly follow the theme (colours and light / dark) unlike an icon