有时需要使用到第三方的SVG作为图标:
将 SVG 转换为 Vector Drawable: Android Studio 提供了一个向量图形导入工具,可以将 SVG 文件转换为 Vector Drawable。在 Android Studio 中,选择 File -> New -> Vector Asset,然后选择 Local file (SVG, PSD),然后选择你的 SVG 文件。按照向导的步骤进行操作,Android Studio 将会生成对应的 Vector Drawable 文件。