title: How to get the ActionBar height?
body: <p>I am trying to get the height of the <code>ActionBar</code> (using Sherlock) every time an activity is created (specially to handle configuration changes on rotation where the ActionBar height might change).</p>
  
  <p>For this I use the method <code>ActionBar.getHeight()</code> which works only when the <code>ActionBar</code> is shown.</p>
  
  <p>When the first activity is created for the first time, I can call <code>getHeight()</code> in the <code>onCreateOptionsMenu</code> callback. But this method is not called after.</p>
  
  <p>So my question is when can I call getHeight() and be assured that it doesn't return 0?
  Or if it is not possible, how can I set the height of the ActionBar ?</p>