title: Best way to test Android app in Eclipse simulator emulating different Screen devices
body: <p>I found out the hard way that in certain cases it is much better to define the screen layout in two different xml files rather than trying to write one univeral xml suitable for all screen specs.</p>
  
  <ul>
  <li>normal 640dp x 480dp in  -> <strong>layout</strong> folder</li>
  <li>small 470dp x 320dp separately in -> <strong>layout-small</strong> folder</li>
  </ul>
  
  <p>While testing works well with different Android real phones I would like to also test emulating in simulator. For example I found that the normal layout works on a Samsung Galaxy but not on HTC (having the same screen dimensions -  I think).</p>
  
  <p><strong>Is there a reliable way to test the layout in emulation mode for specific phones? How and where do I define the settings?</strong></p>
  
  <p>ps when defining the xml there are the options for different screens on top of the window - however in many cases this does not work and/or is not reliable (eg when there is text in a textfield) - and it's only for editing not for simulation.</p>
  
  <p>Many thanks</p>