如何导入Android Studio中取得图标自定义的? [英] How do I import a custom made icon in Android Studio?
问题描述
我做我自己的图标为我的Android应用程序,但我Android Studio中的初学者,并且不导入到我现有的Android Studio项目。
I made my own icon for my Android app, but I am a beginner in Android Studio, and it is not importing into my already existing Android Studio project.
我看了只使用从Android的资产工作室,然后为您创建一个zip文件,该文件应该放在你的项目res文件夹里面的Android启动图标生成。我基本上取代了旧的资源与新的文件夹,我检查,所有的新图标是在他们正确的文件夹,即绘制,华电国际,绘制,MDPI,等我的项目目录中,但他们不是在res文件夹Android的工作室我的项目窗格中。
I read to just use the Android Launcher Icon Generator from Android Asset Studio, which then creates a zip file for you, which should be placed inside your project res folder. I basically replaced the old res folder with the new one, and I checked and all the new icons are in their right folders, i.e. drawable-hdpi, drawable-mdpi, etc within my project directory, but they are not in the res folder of my project pane of Android Studio.
不过,我重新启动Android的工作室,并没有刷新,以显示这些新的进口。当我跑我的项目,它仍然显示旧标准IC-launcher.png文件。
However, I restarted Android Studio, and it did not refresh to show these new imports. When I run my project, it still shows the old standard ic-launcher.png files.
推荐答案
右键单击的 RES 的文件夹,选择的新的>的图片资源的。浏览的图片文件的,
应该为你做的工作。
right click on res folder, selecting New > Image Asset. browse image file, should do the job for you
这篇关于如何导入Android Studio中取得图标自定义的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!