3

I use SherlockActionBar to get the ICS look to older devices. On a Optimus Black P970 (800x480) I get different icon sizes. The 2nd and 4th icon are hdpi icons, so this is correct but why does sherlock provide mdpi/ldpi icons?

<item
    android:id="@+id/menu_save"
    android:title="@string/menu_save"
    android:icon="@android:drawable/ic_menu_save"
    android:showAsAction="always" />

<item
    android:id="@+id/menu_today"
    android:title="@string/menu_today"
    android:icon="@drawable/ic_menu_calendar"
    android:showAsAction="always" />

Action bar

Martin
  • 63
  • 4
  • Have you putted all icons in hdpi, mdpi and in ldpi also?? – Chintan Raghwani Jul 27 '12 at 10:29
  • actually you are using native image from android.jar @android:drawable/ic_menu_save" this is fine. Can you show the layout how you are using image view. – Padma Kumar Jul 27 '12 at 10:32
  • Yes, I have multiple icon sizes (for now just hdmi and default). I just inflate the menu to show it in the action bar. – Martin Jul 27 '12 at 11:09
  • I'm facing similar problem [here](http://stackoverflow.com/questions/17124343/actionbarsherlock-leads-to-icons-get-stretched), have you managed to solve it? – khusrav Jun 17 '13 at 13:56

0 Answers0