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:- Main Menu - Tools > Asset Studio
- Resource Manager - Right-click > New Image Asset
- Project Context Menu - res folder > New > Image Asset
Image Sources
Import from Image File
Use your own image as the icon source:Import from Vector XML
Use Android vector drawable XML files:Paste Vector XML
Directly paste vector drawable XML: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:
Popular color presets:
- Material Primary colors
- Brand colors
- Gradients (future support)
Foreground Scale
Adjust the size of the icon within the background:- Range: 0% to 100%
- Default: 90%
- Recommended: 70-100% depending on icon complexity
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
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:| Density | Size (launcher) | Directory |
|---|---|---|
| mdpi | 48x48 px | mipmap-mdpi |
| hdpi | 72x72 px | mipmap-hdpi |
| xhdpi | 96x96 px | mipmap-xhdpi |
| xxhdpi | 144x144 px | mipmap-xxhdpi |
| xxxhdpi | 192x192 px | mipmap-xxxhdpi |
| baseline | 96x96 px | mipmap |
Icon Types
Launcher Icons
Main app icons shown on the home screen:AndroidManifest.xml
- 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
- 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
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
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:- Create different color variations
- Generate with different shapes
- 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:Valid Vector Structure
Generation Failures
If icon generation fails:Preview Rendering Issues
If preview doesn’t render correctly:- Restart Asset Studio
- Try a different icon shape
- Adjust foreground scale
- Check source image quality