Home Articles Icon Design How to Make HarmonyOS App Icons: Layered Foreground and Background Icons and Store Icon Specs

Table of contents

  • Quick nav

Was this helpful?

Share it with someone who needs it.

How to Make HarmonyOS App Icons: Layered Foreground and Background Icons and Store Icon Specs

A
AppShot Maker
10/21/2026
How to Make HarmonyOS App Icons: Layered Foreground and Background Icons and Store Icon Specs

How HarmonyOS icons differ from iOS and Android

For overseas developers: HarmonyOS is Huawei's operating system, and its latest generation (HarmonyOS NEXT, often called "pure HarmonyOS" or 纯血鸿蒙) no longer runs Android APKs, so apps need native builds and assets. Developers who've made iOS and Android icons often ask the first time they make a HarmonyOS icon: can I just tweak my iOS 1024 icon? Do I draw the rounded corners myself?

HarmonyOS (especially the native HarmonyOS NEXT versions) recommends layered icons: split the icon into a foreground layer and a background layer, and the system applies a uniform shape mask and visual effects in different contexts. This is similar in spirit to Android's Adaptive Icons, but not quite the same as iOS's "one image, the system clips the corners".

AspectiOSAndroid adaptive iconsHarmonyOS layered icons
Source file structureSingle image (or layered via Icon Composer)Foreground + backgroundForeground + background
Shape maskApplied uniformly by the systemDecided by the manufacturer's systemApplied uniformly by the system
Draw rounded corners yourself?NoNoNo
Padding around the subjectNeededSafe area neededSafe area needed

This article is hands-on; for exact sizes and ratios, go by the latest design guidelines on Huawei's developer site and DevEco Studio's prompts.

Why layers

Layering has three main benefits:

  1. Consistent shapes: the system applies the mask, so every icon on the home screen has the same shape, with no mix of squares and circles.
  2. Visual effects: the system can treat the foreground and background separately, for example adding subtle depth or motion.
  3. More contexts: the home screen, settings, notifications, multitasking and other places can all use the same assets.

If you provide only a single, already-rounded icon with shadows, then after the system mask is applied you'll easily get problems like "rounded corners inside rounded corners" or "white borders around the edges".

Preparing source files

Recommended size

Generally prepare both the foreground and background layers on a 1024×1024 px square canvas and export as PNG. This covers high-resolution devices and makes scaling to other sizes easy.

Background layer

  • Fill the whole canvas, with no transparent areas;
  • Use a solid color, gradient or simple pattern;
  • Don't place text or key graphics on it, since the edges are clipped by the mask;
  • Avoid overly complex textures, which look muddy when shrunk.

Foreground layer

  • Holds the main subject, such as your logo graphic;
  • Transparent background;
  • Keep the subject within the safe area at the center of the canvas, with enough space around it to avoid being clipped by the mask;
  • Don't add a rounded backing, outer shadow or highlights yourself; leave those to the system.

A common check: shrink the foreground layer to actual home-screen icon size (a few dozen pixels), overlay a rounded-rectangle mask, and see whether the subject is intact and neither too big nor too small.

Configuring it in your project

In a HarmonyOS project created with DevEco Studio, layered icons are usually organized like this:

  1. Put the foreground and background images in the resources/base/media/ directory, e.g. foreground.png and background.png;
  2. Create a JSON file in the same directory, e.g. layered_image.json:
{
  "layered-image": {
    "background": "$media:background",
    "foreground": "$media:foreground"
  }
}
  1. In module.json5, point the entry ability's (EntryAbility) icon to $media:layered_image;
  2. Configure the app icon in app.json5 accordingly if needed.

Details may vary between SDK versions and templates, so use the default configuration generated when you create a new project as a reference, then swap in your own images.

Store icons vs in-app icons

These are often confused:

Icon typeUseHow to prepare
In-app icon (layered)Shown on the home screen and elsewhere after installForeground + background, packaged into the app
Store listing iconAppGallery details page and search resultsUploaded separately in the AppGallery Connect console

The store listing icon usually needs to be a complete square PNG; follow the upload page prompts in AppGallery Connect for exact pixel size and file size. We recommend compositing the layered icon's foreground and background and exporting that, so the icon in the store matches the one on the home screen and users don't "lose the icon after downloading".

Common rejections and mishaps

Based on common feedback in the developer community, icon problems mostly fall into these categories:

  • Store icon doesn't match the in-app icon: blue in the store, green after install;
  • Icon has built-in rounded corners or white borders: double rounded corners or an obvious white frame after the system mask;
  • Subject too large and clipped: part of the logo's edge is cut off by the mask;
  • Lots of text in the icon: unreadable at small sizes, and may be seen as non-compliant;
  • Using other brands' elements: too similar to a well-known app, with counterfeiting risk;
  • Resolution too low: blurry and jagged when enlarged.

Practical steps for migrating from iOS / Android icons

If you already have an iOS or Android icon, migrate in this order:

  1. Find the original design file, not an exported final image, so you can separate the subject from the background;
  2. Split into two layers: export the background on its own, filling the canvas; export the subject on its own with a transparent background;
  3. Resize the subject: the foreground safe-area experience from Android adaptive icons applies here too; don't let the subject touch the edges;
  4. Preview the composite: overlay a rounded mask in your design tool and check the effect at different sizes;
  5. Export the store icon: export a complete composite icon and upload it to AppGallery Connect;
  6. Check on a real device: install on a HarmonyOS device and check how it looks on the home screen, in settings and in notifications.

Pre-launch checklist

  • Foreground and background layers are both 1024×1024 PNGs (or sizes matching the latest guidelines)
  • Background layer fills the canvas with no transparent areas
  • Foreground subject is within the safe area with ample padding
  • No self-drawn rounded corners or outer shadows
  • layered_image.json references are correct and module.json5 points to the right resource
  • Store icon visually matches the home-screen icon
  • Subject is clear at small sizes, with no tiny text

Summary

The key to HarmonyOS icons is "thinking in layers": the background provides the color, the foreground carries the message, and the shape is left to the system. As long as the source files are split correctly, the subject has enough safe area, and the store icon matches the in-app icon, most icon-related review problems can be avoided in advance.

Ready to design your store screenshots?

Try AppShotMaker and turn raw captures into store-ready screenshots in minutes.

On this page

About 18 min read0%

AppShot Maker

App screenshot design tools

  • Ready-made layout templates
  • App Store, Google Play & Android sizes
  • Fast, simple PNG zip export