How to set the toolbar height the same as the tabbar header height

The default toolbar height sometimes is too high, how to config it so that it can aligned with the tabbar header in adjacent layout cell.
Thx