For example, the folder on my computer containing the hdpi version of my app’s icon has three files: “ic_launcher.png,” “ic_launcher_foreground.png,” and “ic_launcher_round.png.”
However, the “72 x 72” version of my app’s icon in the section “App Icon
Android” of the the tab “Images” in DAB only uses my “ic_launcher.png” file
and ignores the other two files.
I could only get each category (like “72 x 72”) to accept one image (like “ic_launcher.png”) and only one image.
Can you fix this issue in the next update?
Here is some helpful information about adaptive and legacy icons:
The webpage https://developer.android.com/studio/write/image-asset-studio #launcher says, “Adaptive launcher icons can display as a variety of shapes across different device models and are available in Android 8.0 (API level 26) and higher. Android Studio 3.0 introduces support for creating adaptive icons using Image Asset Studio. Image Asset Studio generates previews of an adaptive icon in circle, squircle, rounded square, and square shapes, as well as a full bleed preview of the icon. Image Asset Studio also generates legacy, round, and Google Play Store previews of the icon. A legacy launcher icon is a graphic that represents your app on a device’s home screen and in the launcher window. Legacy launcher icons are intended for use on devices running Android 7.1 (API level 25) or lower, which don’t support adaptive icons, and don’t display as varying shapes across device models.”
Yes, I had gotten exited by your title, by reading (probably my fault to do with English) that you already manage to use either legacy icons or adaptive icons but not yet both.
I have not found a way to use adaptive icons in DAB. But file size matters in Africa, where internet is still expensive and slow.
So since Google is starting to make dedicated packets for different Android versions respectively, users of Android 8 and beyond could get smaller downloads with adaptive icons. I will follow this development with interest.
I see. Yes, I have been able to use legacy icons with DAB because a legacy icon consists of only one image layer. I can’t get DAB to accept both image layers of adaptive icons (bottom layer and top layer). It can only accept one image layer. The problem is that DAB only accepts one image layer in each category (like hdpi).
If you wanted an app created with DAB to have both adaptive and legacy icons, it would have to have two sections for each category, one section that contains the two image layers for the adaptive icon and one section that contains the image for the legacy icon. I hope that this is implemented in a future version of DAB.
It’s important for an app to have adaptive and legacy icons because there are many different versions of Android that can be run on an Android phone. You can see information about users’ adoption of Android versions at https://developer.android.com/about/dashboards/.
I have the same problem with Image Asset Studio. I hope they update it in the future to be compliant with the new icons you discussed in your post Warning about Google Play icons: changed rules. Let me know if you figure out that issue with Image Asset Studio.