Vector Drawables
2021-10-25 本文已影响0人
Jegsavnerdeg
what is the advantages of using vector drawables in the app?
1.they can be scaled
2.drastically reduce apk size
since they are in most cases smaller than rasterized images.
what is the drawback?
1.might take longer to draw
etc since there's more of parsing and drawing going on than just using a bitmap. This should although be neglectable if you keep your vectors simple.