如何导入一套图标进入Android的Studio项目 [英] How to import set of icons into Android Studio project
问题描述
我下载收藏图标从 Android开发者中心 在此集合每个图标是根据其第下令forlders:绘制,华电国际,绘制,MDPI,绘制-xhdpi,绘制-xxhdpi
I downloaded collection of icons from Android Developers center Each icon in this collection is ordered in forlders according to its resolution: drawable-hdpi, drawable-mdpi, drawable-xhdpi, drawable-xxhdpi.
有没有一种方法来导入一个动作到Android Studio的所有4图标的文件,或者我需要复制一个一个? (当我用新建 - >图像资源,我需要填写的文件路径,我不能与文件夹路径填充)
Is there a way to import all the 4 icon's files in one action to Android Studio or I need to copy it one by one? (when I used new->Image Asset , I had to fill a file path, I couldn't fill it with folder path)
更新25/2/15:
据<一href="http://stackoverflow.com/questions/22370237/how-do-i-import-a-custom-made-icon-in-android-studio">this SO质疑,好像有一种方法可以产生4大小的图标由 Android的资产工作室 ,然后直接导入zip文件到你的Android Studio项目资源的文件夹 - 有没有人用过吗?
Update 25/2/15:
According to this SO question, seems like there is a way to generate the 4 size of icons by Android Asset Studio, and then import the zip file directly to your Android Studio project res folder - has anyone used it?
推荐答案
转到设置>插件>浏览资源库>检索算法的 Android的绘制对象导入
Goto Settings > Plugin > Browse Repository > Serach Android Drawable Import
该插件由4个主要特点。
This plugin consists of 4 main features.
- AndroidIcons绘制对象导入
- 在材质图标绘制对象导入
- 缩放绘制对象
- 在多源抽拉
如何使用材料图标绘制对象导入:(安卓工作室1.2)
How to Use Material Icons Drawable Import : (Android Studio 1.2)
- 选择File>设置>其他设置> Android的绘制对象导入
- 在下载材料图标,然后选择你下载的路径。
- 现在,右键单击项目,新建>材料图标导入
- 使用您的项目中你最喜欢的绘制。
这篇关于如何导入一套图标进入Android的Studio项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!