Size of android notification bar and title bar?
<p>Is there a way to obtain the size of the notification bar and title bar in android? At the moment I obtain display width and height with:</p>

<pre><code>Display display = getWindowManager().getDefaultDisplay();
int width = display.getWidth();
int height = display.getHeight();
</code></pre>

<p>After that I want to subtract the sizes of the bars so that I can stretch a video without loosing ratio. Currently I hide the bars because I can't see a better way.</p>
