如何设置拆分操作栏的高度? [英] How to set the height of the split action bar?
问题描述
使用我'的 ActionBarSherlock
并满足一个奇怪的问题,我可以设置的高度动作条
的顶部,但分割动作条
底部是很大的。
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?
谢谢!
推荐答案
我已经解决了自己的问题,这是因为在动作条图标太大了,当我修复图标大小,动作条成为正常的高度。我了解到,图标的大小必须适应该设备DPI。 而这个网站: http://iconhandbook.co.uk/reference/chart/android/ 给人的图标大小不同的设备dpi的。
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.
这篇关于如何设置拆分操作栏的高度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!