android之Vector使用

准备图片 图片格式为SVG,如果是其它的格式,需要使用Vector magic工具进行转换 android studio生成SVG图片到xml文件 1.点击File->New->Vector Asset 2.选择Local file(SVG,PSD),加载准备好的SVG图片,点击Next  3.点击完成 4.生成xml文件 5.引用图片资源 运行效果图
相关文章
相关标签/搜索