title: How to get android device screen size?
body: <p>I have two android device with same resolution</p>
  
  <p>Device1 -> resolution 480x800 diagonal screen size -> 4.7 inches</p>
  
  <p>Device2 -> resolution 480x800 diagonal screen size -> 4.0 inches</p>
  
  <p>How to find device diagonal screen size?</p>
  
  <p><a href="https://stackoverflow.com/questions/15055458/detect-7-inch-and-10-inch-tablet-programmatically">Detect 7 inch and 10 inch tablet programmatically</a></p>
  
  <p>I have used the above link but it gives both device diagonal screen size -> 5.8 </p>