简体   繁体   中英

Launcher icon too small

The launcher icon of my app is downsized, it's smaller than the other icons. I even tried to copy the launcher icon from my other app and when I put these apps (with the exact same icon) next to each other, one icon is smaller.

Both apps have the same minSdkVersion and targetSdkVersion. It's quite weird, what could possibly be the problem?

I tried reinstall, phone restart and two launchers, the default Moto G launcher and Google's KitKat launcher.

Google launcher uses xxxhdpi drawable directory (192x192) to display app icons.

Plus, make sure you dont have an big padding transparent pixels around the icon shape,
I suggest you to use Image Assets to generate your app launcher icon. it comes with Android Studio and Eclipse .

File -> New -> Image Assets

It was my fault, the icon simply had too much padding, it wasn't downsized. The other app had a v14 version of the icons with less padding and I copied the normal versions not noticing the v14 directory.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM