Converts your SVG to an Android VectorDrawable XML, then snapshots that XML through LayoutLib (the same renderer behind Android Studio's drawable preview).
VectorDrawable