Has the action bar icon size changed in Android 4.2 ? I\'ve had a 120x48px HDPI icon that was rendered perfectly in Android 4.1 and below. It still is.
However, on a
This is not ideal, but it appears you can get around this limitation by using an custom action view.
Something like this:
Where @layout/log_in_button points to a layout file containing an ImageButton with your icon set as the src.
You will have to bind the click listener in the OnCreateOptionsMenu method. There is a halfway good example here: http://developer.android.com/guide/topics/ui/actionbar.html#ActionView.
I only just learned to use this method, so I don't know yet if there are any major downfalls besides the increased complexity.