TROUBLESHOOTING YOUR DESIGNER'S, AND VECTOR GRAPHICS_DONT
summary
Shows that SVG transforms get inlined as translated path data, causing misalignment when Android Studio imports and forces inconsistent intrinsic sizes so icons end up non-square until normalized to 24x24 intrinsic size. Demonstrates huge path bloat (4,800 chars → ~1,200 after manual cleaning) and fixes: use strokes instead of outlined shapes, run SVGO two-point precision, try Avocado for extra trimming, avoid masks (masks unsupported so export PNG), and explains unexpected extra draw calls and bitmap cache-reuse heuristics causing missing renders.
AI-written summary · about
chapters (9)
- 0:00Introduction to vector issues
- 1:05SVG vs vector drawable differences
- 3:55Viewport and intrinsic size explained
- 5:38Proper artboard setup in Sketch
- 7:48Exporting with bounding context
- 8:53Path size optimization techniques
- 11:59Using stroke paths for simplicity
- 13:43Advanced path reduction with Avocado
- 14:24Vector drawable caching behavior
related talks
22mTroubleshooting your designer's, and vector graphics
46mVector Workflows
45mVector Workflows
41mVectorial Victories
39mVector Icons on Android: Anatomy, Pathophysiology, Diagnosis and Surgery
31mShapeShifting: Creating delightful icon animations
28mShapeShifting: Creating delightful icon animations
49mMobiconf: Mark Allisson, blog.stylingandroid.com
