![]() ![]() Simply right click on your application module and click New -> Image Asset.įor the icon type select either "Launcher Icons (Legacy Only)" for flat PNG files or "Launcher Icons (Adaptive and Legacy)" if you also want to generate an adaptive icon for API 26+ devices. If you right-click over pretty much any directory in the Android Studio tree, the context menu will have an Image Asset option. ![]() Android will better preserve the resolution of drawables in the mipmap folder for display in launcher applications.Īndroid Studio note: If you are using Android Studio you can let studio place the drawables in the correct place for you. If the value is then the name of the icon is ic_launcher.png.įind this icon in your resource folders ( res/mipmap-mdpi, res/mipmap-hdpi, etc.) and replace it.Ī note on mipmap resources: If your launcher icon is currently in drawable folders such as res/drawable-hdpi, you should move them to the mipmap equivalents (e.g. This application tag has an android:icon attribute, which is usually value here is the name of the launcher icon file. Look in the application's AndroidManifest.xml file for the tag.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |