getting the same window measurement values as when SDK not specified
<p>I have a window in my app (containing a webview with some elements sized via javascript based on the size of the window). When I run the app without a target SDK, everything is sized perfectly. The results from: </p>

<pre><code>getWindowManager().getDefaultDisplay().getMetrics(dm);
x = dm.widthPixels;
y = dm.heightPixels;
</code></pre>

<p>... are very different from when I run the application with a target sdk of 4+. </p>

<p>The sizes from when I run the app as not having a target sdk make the resizing of elements in my webview work, but otherwise getMetrics() reports that the window is significantly smaller than it is. (I end up with a webview that fills the window, but all my elements squished up in the top-lefthand corner.) </p>

<p>How can I get the full view size when a target sdk is specified, and why are the numbers so different? </p>
