![]() ![]() To change the module and resource directory, follow these steps: All other icon files reside in the drawable/ folder of your project. Note: Launcher icon files reside in a different location from that of other icons. The Image Asset Studio generates new icon files, in PNG format, according to the options you have chosen. If you don't want to use the default target module or resource directory, you can enter your own values for them. Confirm the target module and resource directory settings for the icon.From the initial screen that appeared when you opened Image Asset Studio, click Next.This section explains how to save your icons to the res/ folder. If an asset with the specified resource name already exists, Image Asset Studio warns you that it is going to overwrite the existing asset with this one. Resource name: This option allows you to specify a resource name other than the default one.You can tint icons using the HOLO_DARK or HOLO_LIGHT theme or create a custom theme using the color palette. Theme: This option allows you to set a theme for your action bar and tab icons.For example, for a 100px X 100px image with padding of 25px, the resulting image is 150px X 150px. Use the slider to select a value between 0 and 100 pixels. Additional Padding: This option allows you to adjust the icon's padding on all four sides.Figure 1: An icon before and after trimming. Trim surrounding blank space: This option allows you to adjust the margin between the icon graphic and border.The following options are of particular note. Image Asset Studio lets you customize various visual effects for your icons. To change the font, select a font from the Font dropdown menu.Enter into the Text field the text you want to turn into an icon.From the available Foreground options, select Text.A window containing clipart resources appears. From the available Foreground options, select Clipart.To learn how to customize your icons using these options, see Customizing Icons. The rest of the settings on this screen are optional. 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. ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |