The annoying icon white edge

Continuing the discussion from Problems with App Icon:
aaa

I think I may figured out where the problem is:
I made 3 pngs which are sizes of 2×2, 5×5 and 100×100 pixels

a1

then packed to 3 apks and installed, the icons shown as below:

I unpacked the apk files, opened these folders in \res

1682150575662

the icon pictures of these 3 apps are as below:

1682153679266

Compare and see the problem?
The icon borders are cropped some to display in android:

crop

So that is, the offset and blank area in the output icon pngs in apk lead to the "icon white edge issue", this should be easy to fix!

@ewpatton

Today's new discovery!
In my phone, when I drag the app icon, it shows a "shaking" effect, see carefully :point_down:
2
This reveals the icon outside area.
Top two apps icons have the same colors on outside area as its edge
While two bottom apps made by ai2 have white outside area, When they shake, the white outside area exposes
7
So this proves my theory, the icon pics packed in apk should be in this form:
8

not this form that has white blank area:
22

1 Like