Skip to main content
The Asset Studio is a powerful tool for creating Android launcher icons, notification icons, and other image assets in all required densities and formats.

Overview

Asset Studio helps you:
  • Generate launcher icons for all densities (mdpi to xxxhdpi)
  • Import icons from Material Icons library
  • Create icons from custom images or vector drawables
  • Customize icon shapes, colors, and sizes
  • Export to drawable or mipmap directories
  • Preview icons before generation
Asset Studio supports both bitmap images (PNG, JPEG) and vector drawables (XML).

Opening Asset Studio

Access Asset Studio from:
  1. Main Menu - Tools > Asset Studio
  2. Resource Manager - Right-click > New Image Asset
  3. Project Context Menu - res folder > New > Image Asset

Image Sources

Import from Image File

Use your own image as the icon source:
1

Select Image

Tap “Select Image” button
2

Choose File

Browse and select a PNG or JPEG file from your device
3

Preview

The image appears in the preview area
Recommended source image size: 512x512 pixels or larger for best quality

Import from Vector XML

Use Android vector drawable XML files:
1

Select XML

Tap “Select XML” button
2

Choose XML File

Select a vector drawable XML file
3

Parse Vector

Asset Studio parses and renders the vector drawable
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="24"
    android:viewportHeight="24">
    <path
        android:fillColor="#FF000000"
        android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2z"/>
</vector>

Paste Vector XML

Directly paste vector drawable XML:
1

Open Paste Dialog

Tap “Paste XML” or use the Material Icons option
2

Paste XML Content

Paste the complete <vector> XML content
3

Import

Tap “Import” to load the vector
Copy vector drawables from Material Icons, Iconify, or other icon libraries and paste directly.

Customization Options

Icon Shape

Choose from three icon shapes:
  • Circle - Round icons for a classic look
  • Square - Sharp corners for a modern style
  • Rounded Square - Adjustable corner radius
For Android 8.0+ adaptive icons, the shape is applied as the background layer.

Background Color

Customize the icon background:
1

Open Color Picker

Tap the “Color Picker” button
2

Choose from Presets

Select from Material Design color presets
3

Custom Color

Enter a custom hex color code (#RRGGBB or #AARRGGBB)
4

Apply

Tap “Apply” to update the preview
Popular color presets:
  • Material Primary colors
  • Brand colors
  • Gradients (future support)
#FF6200EE  // Material Purple (with alpha)
#03DAC5    // Material Teal
#FF0000    // Red
#00FF00    // Green

Foreground Scale

Adjust the size of the icon within the background:
  • Range: 0% to 100%
  • Default: 90%
  • Recommended: 70-100% depending on icon complexity
Smaller, detailed icons look better at 90-100%. Large, bold icons work well at 70-80%.

Rounded Corners

For rounded square shapes:
  • Range: 0% to 50%
  • 0% - Square corners
  • 25% - Slightly rounded
  • 50% - Fully rounded (circle)

Preview

Preview your icon in real-time:
  • Main preview shows 512x512 size
  • Updates automatically as you adjust settings
  • Tap “Preview” button for full-screen view
The preview accurately represents how the icon will appear after generation.

Generating Assets

Configure Output

1

Set Icon Name

Enter a name for your icon (e.g., ic_launcher, ic_notification)
2

Choose Directory

Select output location: drawable or mipmap
3

Generate

Tap “Generate” button
Directory Guidelines:
  • mipmap/ - Use for launcher icons (recommended)
  • drawable/ - Use for other icons and images

Generated Densities

Asset Studio generates icons for all density buckets:
DensitySize (launcher)Directory
mdpi48x48 pxmipmap-mdpi
hdpi72x72 pxmipmap-hdpi
xhdpi96x96 pxmipmap-xhdpi
xxhdpi144x144 pxmipmap-xxhdpi
xxxhdpi192x192 pxmipmap-xxxhdpi
baseline96x96 pxmipmap
app/src/main/res/
├── mipmap/
   └── ic_launcher.png (96x96)
├── mipmap-mdpi/
   └── ic_launcher.png (48x48)
├── mipmap-hdpi/
   └── ic_launcher.png (72x72)
├── mipmap-xhdpi/
   └── ic_launcher.png (96x96)
├── mipmap-xxhdpi/
   └── ic_launcher.png (144x144)
└── mipmap-xxxhdpi/
    └── ic_launcher.png (192x192)
All icons are generated as PNG files with transparency support.

Icon Types

Launcher Icons

Main app icons shown on the home screen:
AndroidManifest.xml
<application
    android:icon="@mipmap/ic_launcher"
    android:roundIcon="@mipmap/ic_launcher_round"
    ...>
Requirements:
  • 512x512 source recommended
  • Square or rounded shape
  • Clear, recognizable design
  • Works on light and dark backgrounds

Notification Icons

Icons for status bar notifications:
Notification Icon Usage
val notification = NotificationCompat.Builder(context, CHANNEL_ID)
    .setSmallIcon(R.drawable.ic_notification)
    .setContentTitle("Notification Title")
    .build()
Requirements:
  • Silhouette style (single color + transparency)
  • 24x24 dp (72x72 xxxhdpi)
  • Simple, clear design
  • White foreground, transparent background

Action Bar Icons

Icons for toolbar and action bar: Requirements:
  • 24x24 dp base size
  • Material Design style
  • Consistent with app theme

Best Practices

Source Images
  • Use high-resolution source images (512x512+)
  • Vector sources scale better than bitmaps
  • Ensure sufficient contrast with background
Design Guidelines
  • Follow Material Design icon guidelines
  • Keep designs simple and recognizable
  • Test on different devices and Android versions
  • Avoid small text or fine details
File Management
  • Use descriptive icon names (ic_feature_name)
  • Keep icon sets consistent
  • Remove unused icons to reduce APK size
Testing
  • Preview on actual devices when possible
  • Test on light and dark system themes
  • Verify all densities look correct

Advanced Features

Vector Drawable Parsing

Asset Studio intelligently parses vector XML:
  • Supports <path> elements with pathData
  • Handles fillColor and strokeColor
  • Respects viewportWidth/Height
  • Scales to target size automatically
Supported Vector Features
<vector ...>
    <path
        android:pathData="..."          <!-- Path commands -->
        android:fillColor="#000000"      <!-- Fill color -->
        android:strokeColor="#FFFFFF"    <!-- Stroke color -->
        android:strokeWidth="2"/>        <!-- Stroke width -->
</vector>

Color Customization

Advanced color options:
  • Hex color input with alpha channel
  • Color presets from Material palette
  • Real-time preview of color changes
  • Color persistence across sessions

Batch Generation

Generate multiple icon variants:
  1. Create different color variations
  2. Generate with different shapes
  3. Export multiple icon sets

Troubleshooting

Image Not Loading

If images fail to load:
  • Check file format (PNG, JPEG, or XML only)
  • Verify file permissions
  • Try a different image
  • Ensure sufficient storage space

Vector XML Parse Errors

If vector XML fails to parse:
Ensure the XML is valid Android vector drawable syntax.
Valid Vector Structure
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="24"
    android:viewportHeight="24">
    <!-- path elements here -->
</vector>

Generation Failures

If icon generation fails:
1

Check Project

Ensure a project is open
2

Verify Permissions

Check write permissions to res/ directory
3

Check Space

Ensure sufficient storage for generated files
4

Retry

Close and reopen Asset Studio, then try again

Preview Rendering Issues

If preview doesn’t render correctly:
  • Restart Asset Studio
  • Try a different icon shape
  • Adjust foreground scale
  • Check source image quality
Icon Resources:

Build docs developers (and LLMs) love