title: Can I get the size of the screen android phone?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/6577430/how-to-get-screen-size-and-respond-to-it">How to get screen size and respond to it?</a>  </p>
  </blockquote>
  
  
  
  <p>Can I get the size of the screen android phone, similar to the same method in the computer. I'm interested in the screen resolution and (or) diagonal screen.<br>
  Is there a possibility to find me interesting information, it can be anologii transaction for Computer:</p>
  
  <pre><code>Toolkit toolkit = getDefaultToolkit();
  Dimension screenSize = toolkit.getScreenSize();
  int widthScreen = screenSize.width;
  int heightScreen = screenSize.height;
  </code></pre>