6

Following Google's guidelines, I've added 48x48 and 72x72 launcher icons to my project for mdpi and hdpi screens.

In some situations though, the icon is resized. For example on my Acer Iconia A200 tablet (mdpi), the app launcher menu uses a 64x64 icon (more or less, I've measured this from a screenshot). The actual resource used is my 48x48 icon, stretched.

Is there a way I can add versions of the launcher icon to my project with more size options than hdpi/mdpi/ldpi?

Thanks in advance.

EDIT: Today's software update for the Acer Iconia Tab A200 fixed the problem for me; the launcher now uses a 72x72 icon.

  • 1
    You can try drawable-hdpi-v8, drawable-mdpi-v9, etc, or just look up the documentation for drawable folder. – Demonick Apr 18 '12 at 06:23
  • [DeveloperSite](http://developer.android.com/guide/practices/ui_guidelines/icon_design_launcher.html#size) will provide the details for you. – Praveenkumar Apr 18 '12 at 06:24
  • Thanks Demonick, that's interesting and I didn't know that yet. I don't think the image resizing behaviour is version-specific though? –  Apr 18 '12 at 07:37
  • Thanks SpK, I read the guide but it doesn't seem to answer my question? –  Apr 18 '12 at 07:38
  • Some up-to-date information about icon best practice: http://android-developers.blogspot.co.uk/2013/07/making-beautiful-android-app-icons.html – Rupert Rawnsley Aug 06 '13 at 09:55
  • 3
    Does this answer your question? [Android - Launcher Icon Size](https://stackoverflow.com/questions/12768128/android-launcher-icon-size) – Paresh Mangukiya Oct 31 '20 at 08:17

1 Answers1

1

You can use the xlarge qualifier though I doubt that the tablet is using size other than the 48x48, I am using the 48x48 icon and it is working fine on the Galaxy 10.1 tablet.

Mahdi Hijazi
  • 4,306
  • 3
  • 22
  • 29
  • 1
    Thanks, but maybe I should clarify a bit: the used icon is indeed the 48x48 one. It's scaled to 64x64 though in the app launcher menu and it could potentially be scaled to any size, like 36x36 in a context menu. My question is if I can add such different image sizes to my project? –  Apr 18 '12 at 08:08
  • Although it didn't quite solve my problem, I'll accept this answer because it's the only one and there don't seem be any new ones :) The help is much appreciated. –  Apr 19 '12 at 19:36
  • @Stuart same problem with Transformer Prime tablet with ICS. I made the icon source 64x64 for now, and it grew nicely in size, but i have not tested it on any other devices ... – Cel May 21 '12 at 14:55
  • @Cel I've not found a better solution either, but this shifts the problem to devices that do use the default size for icons. I see that other apps on my Acer Iconia A200 have incorrectly sized icons too, so I think this maybe shouldn't be solved by the individual apps but with a launcher update/replacement. –  May 21 '12 at 15:58