
The icon to be generated appears in the Preview pane, displayed at sizes corresponding to different screen densities. Image Asset Studio supports the following file types, in descending order of desirability: PNG, JPG, and GIF. Specify the asset to use by entering a filename in the Image file field or by navigating to and selecting a file via the file browser.From the available Foreground options, select Image.Open the Asset Type dropdown menu and select an icon type.This section explains how to work with each of these resources. You can generate icons from image, clipart , or text-string resources. Right-click the res/folder and select New > Image Asset.The Android project view appears in the pane. In the Project window on the left side of the screen, select Android from the dropdown menu.In Android Studio, open an Android app project.Accessing Image Asset Studioįollow these steps to access Image Asset Studio: This guide shows how to generate these assets using Image Asset Studio. Image Asset Studio generates the following asset types: At runtime, Android uses the appropriate resource based on the screen density of the device your application is running on. The newly generated icons are placed in density-specific folders (for example, mipmap-mdpi/ or drawable-xxxhdpi/), which reside in the application’s res/ folder. It generates a set of icons at the appropriate resolution for each generalized screen density that your app supports. Managing Launcher Icons as mipmap ResourcesĪndroid Studio includes a tool called Image Asset Studio that helps you to generate custom icons for your Android applications from existing image, clipart, or text-string resources.
