Graphics compatibility firewall · no silent deletion
Shared paths can cross. SVG as a whole cannot.
VectorDrawable understands a useful subset of SVG geometry and paint, not the full browser rendering language. Conversion begins by classifying every source feature before XML is emitted.
Capability firewall
PASSFORGE TO PATHVERSION CONTRACTREDESIGN OR FLATTENCoordinate treaty
authoring coordinate space
0 0 100 100path coordinate space
100 × 100layout size
24dp × 24dpmapping policy
preserve by defaultrequires geometry rebase
rejected in strict bridgeGeometry foundry
<path>android:pathDatadirect command stream<rect>M H V H Zaxis-aligned path<circle>two arc commandsclosed path<ellipse>two elliptical arcsclosed path<line>M Lopen path<polygon>M L … Zexplicit closurePaint customs
fillColorstrokeColor + widthseparate alpha fieldsfillTyperesolve first
rasterize or redesign
expand geometry
outline to paths
explicit gradient mapping needed
API deployment passport
solid path paint
still verify runtime and AndroidX
support library or raster fallback
not visual equivalence proof
Round-trip assay
EXPECTEDEXPECTEDCHANGEDCHANGEDCHANGEDREQUIREDAndroid Studio handoff
Import or place XML in res/drawable
Open VectorDrawable preview
Build target minSdk and AndroidX path
Compare any generated raster fallbacks
Test light/dark and theme resources
Inspect real-device rendering and accessibility usage