How to set the height of the split action bar?

2019-07-22 15:59发布

问题:

I'am using the ActionBarSherlock and meet a strange problem, I can set the height of the ActionBar at the top, but the split ActionBar at the bottom is to big.

I want to know how to set the height of the split action bar?

thanks!

回答1:

I have solved the problem myself, it's because the actionbar icon is too big, when i fix the icon size, the height of the actionbar become normal. I've learnt that the size of the icon must adapt the device dpi. And this site: http://iconhandbook.co.uk/reference/chart/android/ gives the icon size for different device dpi.