Page 1 of 1

Size of icon

Posted: Sat May 27, 2017 11:37 am
by sphere
Hi,

anyone knows exactly how the size of the icons on Android is determined?
As not an ICO is used but PNG.

Now on one app i use a png of 90x90 which is diplayed bigger then with an PNG of 250x250 from an other app.
I know Livecode scales it down becasue the actual size is smaller.

So how is this done and how is the size determined? Why is the smaller one displayed bigger?

Thanks for any insight on this.

Cheers,
Sphere

Re: Size of icon

Posted: Mon May 29, 2017 11:49 am
by MaxV
Android launcher icons must be 512x512 pixel, png format. The launcher icon is resized only by the phone, not by livecode.

Re: Size of icon

Posted: Mon May 29, 2017 2:11 pm
by sphere
Gracie! MaxV

512x512 seems to be when you put it on Google Play Store.
I found some info here.
https://stackoverflow.com/questions/127 ... -icon-size
and
https://material.io/guidelines/style/ic ... duct-icons
Probably the format is in correlation with the used density dp of the used image.

Not sure yet how it works.

Thanks!

***edit*** this is a nice tool if you don't want to do it mannually using paint.net or some like it : https://romannurik.github.io/AndroidAss ... c_launcher
It does it all for you.

Re: Size of icon

Posted: Tue May 30, 2017 12:55 pm
by MaxV
sphere wrote: ***edit*** this is a nice tool if you don't want to do it mannually using paint.net or some like it : https://romannurik.github.io/AndroidAss ... c_launcher
It does it all for you.
Cool your link, thank you!