title: Android: how to find size of viewable screen?
body: <p>I was going to use <code>Display.getWidth()</code> x <code>Display.getHeight()</code>, but the documentation for getHeight() notes:</p>
  
  <p><code>Returns the raw height of the display, in pixels. Note that this should not generally be used for computing layouts, since a device will typically have screen decoration (such as a status bar) along the edges of the display that reduce the amount of application space available from the raw size returned here. This value is adjusted for you based on the current rotation of the display</code>.</p>
  
  <p>So, what is it reliable to do <code>Display.getWidth()</code> x <code>Display.getHeight() - statusHeight</code>?  Or is there a more formal way to find the viewable rectangle?</p>