ActionBarSherlock tabs customization

2020-05-06 08:11发布

问题:

I'm using ActionBarSherlock in my application. I would like to use icons/images in the actionbar instead of the default tabs. But unfortunately the images/icons I used by using .setIcon(), I find that there is a lot of padding being applied before and after the image/icon on each tab, thus making it look ugly.

Current tabs image

Could any please guide as to what needs to be done for this?

Intended tabs image