Hi :wave: This question is about android-performan...
# android
s
Hi 👋 This question is about android-performance. After going through a CPU trace I'm seeing that there is res/drawable/abc.xml file that is taking around 2 ms to inflate. After inspecting I noticed it's a vector asset. What have you all tried, to keep the inflation time manageable for vector graphics?
not kotlin but kotlin colored 1
f
this is not Kotlin related. That said, this usually means your SVG is too complex. You can try to simplify it with tools like SVGOMG or if that doesn't work, consider a PNG or WEBP.
🙌 1
s
Thank you for your reply. I wish we had an android-performance slack channel.