Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I import a custom made icon in 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.

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.

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.

like image 726
Azurespot Avatar asked Mar 13 '14 05:03

Azurespot


People also ask

How do I import an icon into drawable Android?

In Android Studio, right-click on the “drawable” folder and select “New” » “Vector Asset”. From there, for “Asset Type”, select “Local file (SVG, PSD)” Enter a name for the icon. Enter the path to your icon, or use the folder icon to choose the icon in your file explorer.

Where are icons located in Android Studio?

In the Project window, select the Android view. Expand the res/mipmap folder for a launcher icon, or the res/drawable folder for other types of icons.


1 Answers

right click on res folder, selecting New > Image Asset. browse image file, should do the job for you

like image 82
YesItsMe Avatar answered Sep 20 '22 03:09

YesItsMe