Please log in to watch this conference skillscast.
Support for SVG finally arrived to Android in the form of vector drawables. You have replaced (or you are planning to replace) absolutely all your PNGs with VectorDrawables and your APK is smaller. Hurrah!
But now your app feels slower, the render time of your views has increased and you don’t know why!
In this talk, Florina will describe how vector drawables work and how they are rendered. Florina will share with you how big the difference in render time can be between vector drawables and PNGs for drawing areas bigger than 200x200dp and how to improve this. Finally, she will prove that having multiple resources for the same vector drawable is actually beneficial for performance.
YOU MAY ALSO LIKE:
- Progressive .NET 2017 (in London on 13th - 15th September 2017)
- London Unreal Engine Meetup (in London on 20th September 2017)
- Fast Track to F# with Tomas Petricek & Phil Trelford (in London on 16th - 17th October 2017)
- Test Driven Development (TDD) Workshop with Damjan Vujnovic (in London on 7th - 8th December 2017)
Optimising The Performance Of VectorDrawables
Florina is working as an Android Developer Advocate at Google, helping developers architect clean, testable apps using the Architecture Components libraries. She has been working with Android for 8 years, previous work covering news at upday, payment solutions at payleven and navigation services at Garmin.