How to set the height of the split action bar?

爷,独闯天下 提交于 2019-12-11 13:33:11

问题


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.



来源:https://stackoverflow.com/questions/21954637/how-to-set-the-height-of-the-split-action-bar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!