Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to place app icons in Android project

This is a stupid question, so I'm sorry if it's been asked before but I cannot find the answer and I'm not even sure if it matters or not, but:

If I want to add Icons to my Android app, not just the App icon, but other icons and graphics. Which folder do I place them in, or how should I add them? I am using Android Studio to create my Android app and I know that the App's main icons (Launcher icons) are located in res/drawable-x but is this where I also put other graphics and icons too? I looked in the documentation and searched SO and Google but only found answers relating to App Launcher Icons.

like image 913
uSeRnAmEhAhAhAhAhA Avatar asked Sep 22 '13 06:09

uSeRnAmEhAhAhAhAhA


2 Answers

You put all the icons and images res/drawable-xxx folders, e.g.:

  • /res/drawable-mdpi - resources for medium pixel density
  • /res/drawable-hdpi - resources for high pixel density
  • /res/drawable-port - resources just for portrait mode

More info here: Providing Resources

like image 132
Szymon Avatar answered Oct 21 '22 21:10

Szymon


Got to Project name --> res/drawable and paste all your icons

Yes res/drawable-x is where you have to add the images

like image 2
Metalhead1247 Avatar answered Oct 21 '22 22:10

Metalhead1247