App Icon on Device is too small

故事扮演 提交于 2019-12-04 18:39:26

问题


My problem is that the App Icon on my device looks way too small in comparison to the other apps. I read some solution on other questions, like this one Android App Icon size too small but this doesn't seems to be my problem. In the Android Studio you can make a right click on "res" where you can find new --> image asset where you can create such a icon. it creates icons for all the different sizes like mdpi, hdpi and so on. So i thougt that i might display the app icon correctly but it doesn't. can anybody help me?


回答1:


Try to use this. Its very useful, fast and free. And thats what I use. If your icon already has a shape, remember to set the shape to none. Hope it helps!

If you are getting the same results, I also recommend this website, where I usually get "bigger" icons.




回答2:


In "Configure Image Asset", click "Legacy", change "Shape" from "Square" to "None", and the image padding will appear. Go back to "Foreground Layer" and resize the image to fill the padding.




回答3:


I found the launcher icons generator puts there a small padding, that is the reason for smaller icons. On the other way it is recommended by Google team here.

Android expects product icons to be provided at 48dp, with edges at 1dp.

All is on you to decide. In case the icon applies to whole square space - use padding, otherwise when small object is not square shape, rather fit to edges :)




回答4:


I had the same issue. I fixed it like so:

Create the adaptive icon through Android Asset Studio. In the third tab you can select "Create Legacy Icon". Only this legacy one is going to be too small! The others will be fine.

So the thing I did was just to replace the icon_launcher.png files (this is the legacy icon).



来源:https://stackoverflow.com/questions/32231439/app-icon-on-device-is-too-small

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!