title: Android Screen Sizes - Layout issues. Possible to just stretch rather than define 4 layouts?
body: <p>I've spent a long time working on layout issues and screen sizes. I've read through the Android document here, which has helped and makes total sense:
  <a href="http://developer.android.com/guide/practices/screens_support.html" rel="nofollow">http://developer.android.com/guide/practices/screens_support.html</a></p>
  
  <p>So, now I have my app showing exactly the same size on different screen sizes, as all of my elements throughout use DIP ( Density independant pixels ).</p>
  
  <p>However, I have two devices infront of me, one larger than the other, so what that means is some empty space at the bottom of the larger screen size ( Sensation XE ) than on the slightly smaller screen size ( Desire Z ).</p>
  
  <p>Reading the Android document, the general solution is to create layouts for xlarge, large, normal and small screen sizes that have a different number of DIP.</p>
  
  <p>That's great, but with the layout I have which is awfully complex ( lots of custom views, lots of buttons, 3 text views, lots of images that are seperate so they can light up ), it's a lot of work to recreate those layouts.</p>
  
  <p>The layout however, would be ok if it was stretched. If it took how it looks on for example the Desire Z, and literally just stretched everything to fit the larger screen, that would be fine as stretching here shouldn't be a big problem.</p>
  
  <p>My question is, is there a way to do that without having to re-create the layout 4 times?
  Yes I realize I can copy paste most of it, but it would be really handy to just stretch what I have.</p>
  
  <p>I tested on a tablet device, and it showed well but everything was tiny and didn't fill the screen. I have different sized images in the different folders ( xhdpi through to ldpi ), so it picking the correct image shouldn't be an issue.</p>
  
  <p>Thanks, any help is much much appreciated.</p>