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
Size of icon
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Size of icon
Android launcher icons must be 512x512 pixel, png format. The launcher icon is resized only by the phone, not by livecode.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
Re: Size of icon
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.
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
Cool your link, thank you!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.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w