Autocropper logoAutocropper
All posts
5 min read

Logo to Android App Icon: Adaptive Icon & mipmap Sizes

Android app icons need an adaptive icon (foreground + background), legacy mipmaps from 48 to 192 px, and a 512 Play Store icon. Here's the full set and how to prep it.

Logo to Android App Icon: Adaptive Icon & mipmap Sizes

An Android app icon isn't a single PNG. Modern Android uses an adaptive icon — two layers the system composites and masks to whatever shape the launcher wants (circle, squircle, rounded square, teardrop) — plus a set of legacy mipmap PNGs for older devices, plus a 512×512 icon for the Play Store listing.

That sounds like a lot, but the structure is logical once you see it. Here's the full set, the sizes, the safe zone that trips everyone up, and where a clean export of your logo fits into it.

The three things you need

  1. An adaptive icon — a foreground layer (your mark) and a background layer (a colour or image), defined in XML.
  2. Legacy mipmap icons — flat PNGs at five densities, for devices before Android 8.0.
  3. A Play Store icon — one 512×512 PNG for the store listing.

Adaptive icons, and the safe zone

An adaptive icon is built from two layers, each 108×108 dp: a background and a foreground. The launcher stacks them, applies its own mask shape, and can even animate them independently. This is why Android icons all sit consistently within the same silhouette on a given device.

The detail that catches people out: the system only ever shows the central 72×72 dp of that 108 dp layer. The outer ~18 dp on each side is margin — it can be clipped by the mask or used for motion effects. So your mark has to live inside that central safe zone, roughly the middle two-thirds, and stay clear of the edges. Put your logo edge-to-edge and the mask will crop it.

The adaptive icon is declared in res/mipmap-anydpi-v26/ic_launcher.xml:

<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
    <background android:drawable="@color/ic_launcher_background" />
    <foreground android:drawable="@mipmap/ic_launcher_foreground" />
</adaptive-icon>

The background is often just a solid brand colour; the foreground is your mark, padded to sit inside the safe zone.

The legacy mipmap densities

For devices before adaptive icons (Android 8.0 / API 26), you still ship flat ic_launcher.png files at five screen densities, in res/mipmap-{density}/:

DensitySize
mdpi48×48
hdpi72×72
xhdpi96×96
xxhdpi144×144
xxxhdpi192×192

If you're also exporting the adaptive foreground per density, those run larger (108 dp scaled up): 108, 162, 216, 324 and 432 px respectively.

The Play Store icon

Separately, the Play Console wants a 512×512 32-bit PNG for your store listing. This one isn't installed on the device — it's the icon shoppers see in the Play Store.

How to prep this from your logo

Here's the honest, efficient path. You don't hand-export five densities — you produce one clean, high-resolution foreground mark and let Android Studio generate the rest.

Autocropper's role is that first step, done privately in your browser with no upload:

  1. Drop your logo into the tool at the top of this page.
  2. It removes the flat background, un-mixes any leftover background colour from the edges (no white halo — which matters because the foreground sits over your background layer), crops to the mark, and centres it on a transparent square.
  3. Download the 512 — that's both your Play Store icon and a clean, high-res foreground source.

Then, in Android Studio, right-click resNew → Image Asset, choose Launcher Icons (Adaptive and Legacy), and point the foreground at your clean 512. Image Asset Studio lets you set the background colour, adjust the padding so the mark sits inside the safe zone, and it generates the adaptive XML and every mipmap density for you. That's the standard workflow, and it's why you only need one good foreground rather than a folder of hand-sized PNGs.

Being straight about the fit: Autocropper gives you the transparent foreground mark and the 512 store icon in one drag — the clean-prep step, done locally. It does not assemble the adaptive icon itself (the safe-zone padding, the background layer, and the density export happen in Image Asset Studio). Its free preset sizes are 16/32/48/64/128/256/512, so the 48 mdpi legacy size and the 512 come out directly; the other densities are generated by Studio from your foreground. If you'd rather export exact custom densities yourself, those are available on Pro.

Do it now

Got your app's logo open? Drop it in, grab the clean 512, and take that into Image Asset Studio as your foreground. Nothing gets uploaded — useful when the app isn't public yet.

Prep your Android icon foreground →

Bottom line

Android app icons: an adaptive icon (foreground + background, 108 dp, mark inside the central 72 dp safe zone), legacy mipmaps at 48/72/96/144/192, and a 512 Play Store icon. Produce one clean, background-free foreground from your logo, then let Android Studio's Image Asset Studio generate the densities and adaptive XML.

FAQ

What sizes are Android app icons? Legacy mipmaps are 48 (mdpi), 72 (hdpi), 96 (xhdpi), 144 (xxhdpi) and 192 (xxxhdpi). The adaptive icon layers are 108 dp (scaling to 108–432 px across densities), and the Play Store icon is 512×512.

What's the adaptive icon safe zone? Only the central 72×72 dp of the 108 dp layer is always visible. Keep your mark inside that central two-thirds, away from the edges, or the launcher mask may clip it.

Do I have to export every density by hand? No. Give Android Studio's Image Asset Studio one clean high-res foreground and it generates every density plus the adaptive XML.

Where does Autocropper fit? It produces the clean, transparent, centred foreground mark and the 512 icon from your logo, locally in your browser. You then assemble the adaptive icon in Image Asset Studio.

Is my logo uploaded? No. Background removal, cropping and resizing all run in your browser tab, so an unreleased app's icon never leaves your machine.

Related

Try it on your own logo.

Drop a logo into Autocropper and see the difference in seconds.

Open Autocropper
ShareXLinkedIn