https://kotlinlang.org logo
#compose
Title
# compose
a

aoriani

12/29/2019, 8:37 PM
How to resize a Vector Image? I am trying to do like the
VectorImage
from the JetNews app by setting the
Size
modifier of the
Container
to the size I want, and passing
fit = ScaleFit.FillMinDimension
to the
DrawVector
call. Bu that is not working. It seems that the vector is being resized, however it is clipped to its intrinsic or viewport size.
r

Roar Gronmo

12/29/2019, 9:01 PM
Look at 3rd of December further up the thread, I have post that might help a little bit...
r

Roar Gronmo

12/29/2019, 9:13 PM
Yes!
a

aoriani

12/29/2019, 9:32 PM
Thanks a lot. I will take a look at it.
6 Views