how to make the icon to match parent size
# compose
m
how to make the icon to match parent size
d
Modifier.fillMaxSize()
Maybe checkout the layout courses?
m
won’t work
it fills the whole screen
d
Because the box fills the whole screen?
m
the bounds in the ss say otherwise
a
Icon
has a fixed size. If you want it to fill max size, use
Image
.
m
i was browsing the docs, it appears to be it 😛 thanks