IntelliJ IDEA 2018.2 Help

Asset Studio. Page 1

Use this page to select the image source, adjust the original image to the icon size and aspect ratio, modify shapes and colors, etc.

Item

Description

Asset Type

Select the type of icon you want to create from the drop-down list. The available options are:
  • Launcher Icons

  • Action Bar and Tab Icons

  • Notification Icons

Foreground

Select one of the following sources for your icon:
  • Image

  • Clipart

  • Text

Image file

This field is only available if Image is selected as the icon source.

Specify the path to the image file, or click Browse browseButton and select the image file in the dialog that opens.

Clipart

This control is only available if Clipart is selected as the icon source.

Click the Choose button to select the foreground image from the clipart collection.

Text

This control is only available if Text is selected as the icon source.

Enter the text and select the font from the Font drop-down list.

Trim surrounding blank space

Select this option if you want to contract the blank space around your image and adjust the foreground to the icon size.

Additional padding

Drag the slider if you want to increase/decrease the amount of blank space around the foreground image.

Foreground scaling

This control is only available if Launcher Icons is selected as the asset type.

The image that servers as the source for your icon may not have the same aspect ratio as the icon itself. You can adjust it be selecting one of the following options:

  • Crop: the foreground image will be cropped so that it takes the full space of the parent element.

  • Center: the foreground image will remain unchanged and will be placed in the middle of the parent element.

Shape

These controls are only available if Launcher Icons is selected as the asset type.

Use these controls to add a shaped frame to your icon. The following options are available:

  • None

  • Square

  • Circle

Background color

This control is only available if Launcher Icons is selected as the asset type.

Click the color block to open the Select Color dialog where you can choose the color that will fill the background if you have selected Square or Circle above as the icon shape.

Foreground color

This control is only available if Launcher Icons is selected as the asset type, and Clipart or Text is selected as the icon source.

Click the color block to open the Select Color dialog where you can choose the color for the foreground image.

Theme

This control is only available if Action Bar and Tab Icons is selected as the asset type.

Select a theme for you icon from the drop-down list.

Resource name

Enter the name for the new drawable resource.

Last modified: 20 November 2018

See Also