title: How can I get android Honeycomb system's screen width and height?
body: <p>my code:</p>
  
  <pre><code>Display display = activity.getWindowManager().getDefaultDisplay();
  DisplayMetrics displayMetrics = new DisplayMetrics();
  display.getMetrics(displayMetrics);
  
  System.out.println("screen width:"+displayMetrics.widthPixels);
  System.out.println("screen heigth:"+displayMetrics.heightPixels);
  </code></pre>
  
  <p>when I run this program in android Honeycomb system,the output is
  800 and 1232
  but the device's screen is 800_1280,hao can I get it?
  thanks.</p>