Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build a Simple Android App with Java Improving Our Code Adding an App Icon

Brendan Albert
Brendan Albert
32,954 Points

There is an easier way to import mipmap images!

Instead of manually adding each of the different sized mipmap icons, you can simply:

  • right click 'mipmap' in the project directory
  • select 'new' > 'Image Asset'
  • Of the 'Asset Type:' radio buttons, choose 'Image'
  • navigate to wherever you unzipped or have an icon you wish to use.
  • choose ok and next accordingly, this should automatically load all the different sizes.

Note: it is better to choose a larger icon, (xxxhdpi, xxhdpi, xhdpi). These will look cleaner when scaled down for you. Smaller icons, hdpi, mdpi, will not look as sharp when scaled up.

Ben Deitch
Ben Deitch
Treehouse Teacher

This is great! Thanks for pointing it out!

So is it enough to drop in just one high res img?

btw, thanks for sharing :smile: