android - Multiple icon images in Honeycomb -


i'm trying change app icon make match blue of honeycomb maintain green icons previous android versions. i've come across problem if put blue 72x72 icon in drawable-xlarge, uses correctly in launcher uses actionbar. 72x72 large, extends beyond actionbar top & bottom.

my res directory follows:

drawable - images ldpi & mdpi screens (48x48)

drawable-hdpi - hdpi screens (72x72)

drawable-xlarge - images tablets

how can correctly organise blue icons 72x72 used launcher , 48x48 used actionbar?

honeycomb's launcher use available hdpi drawables higher-res mipmaps on mdpi devices. mdpi icons should still 48x48. if want provide resources specific xlarge screens should provide versions in drawable-xlarge-mdpi, drawable-xlarge-hdpi, etc.

however, if goal provide icons match styling in android 3.0 might want use v11 (api level 11) qualifier instead of xlarge. (e.g. drawable-mdpi-v11, drawable-hdpi-v11)

api level version qualifiers in resource organization can useful in other circumstances system styling changed too, such notification icon style changes in 2.3.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -