有没有办法衡量导航栏在像素的底部?
Is there a way the measure the hight of the navigation bar at the bottom in pixels?
同时,我找到了解决办法。有一个新的 OnLayoutChangeListener
事件honycomb至极让你等待布局完成,然后测量你的布局,而不是屏幕尺寸的大小。
meanwhile i found the solution. there is a new OnLayoutChangeListener
event in honycomb wich allows you wait for the layout to be finished and then measure the size of your layout instead of the screensize.