i have an app that creates shortcuts. it generates the shortcut icon dynamically, so i need to know the correct launcher icon size.
to handle this, i created dimens.xml
in values-ldpi/mdpi/hdpi/xhdpi/xxhdpi
and defined my icon size to be 36/48/72/96/144px respectively.
this scheme works, except on 10", xhdpi tablets (like the nexus 10). it appears these tablets use a launcher icon size of 144px (xxhdpi) despite have an xhdpi screen.
is there a way to correctly detect the launcher icon size that takes into account 10" xhdpi tablets? or is there a better scheme for getting my icons sized correctly? or perhaps is there a way to differentiate this case from the simple xhdpi case?
thanks.