title: google api v2 get width and height
body: <p>I'm trying to get width and height from a map fragment. However methods getWidth and getHeight are deprecated and i dont now how to do in google v2.</p>
  
  <p>I used to do like this way:</p>
  
  <pre><code>display = getWindowManager().getDefaultDisplay();
  width = display.getWidth();
  height = display.getHeight();
  </code></pre>
  
  <p>Please someone help</p>