How to get Android screen height minus status bar in pixel?
<p>I am using this thick but it returns "0"</p>

<pre><code>    View content = getWindow().findViewById(Window.ID_ANDROID_CONTENT);
    int viewHeight = content.getHeight();
</code></pre>

<p>How to do so?</p>
