[android-developers] Re: Different screen sizes x different layouts

2010-04-30 Thread Gabriel Simões
One other interesting thing My FWQVGA avd (android 2.1 + skin WQVGA432) seems to work only for one session. If I close and run it again the resolution changes, icons appear a lot bigger and it displays the UI componentes totally misplaced. I don´t know if I made a huge mess with last posts

[android-developers] Re: Different screen sizes x different layouts

2010-04-29 Thread Gabriel Simões
Thanks for your reply Mark! Took some time to answer because I was testing the new layouts. What I did: /layout (for HVGA displays - medium density and medium size) /layout-small (for QVGA displays - low density and low size) /layout-long (for all the other displays). At first everything was

[android-developers] Re: Different screen sizes x different layouts

2010-04-29 Thread Gabriel Simões
One last thing: Does an avd emulator created using skin WVGA800, and with density setup as 160 really emulate a Nexus One, and the same but using skin WVGA854 emulate a Motorola Droid? I´m asking this because, on eclipse, when I open my layout and set it for Nexus One it appears just right (as

[android-developers] Re: Different screen sizes x different layouts

2010-04-29 Thread Gabriel Simões
Thanks for your reply Mark! Took some time to answer because I was testing the new layouts. What I did: /layout (for HVGA displays - medium density and normal size) /layout-small (for QVGA displays - low density and low size) /layout-long (for all the other displays). At first everything was

[android-developers] Re: Different screen sizes x different layouts

2010-04-29 Thread Gabriel Simões
Some other conclusions ... I´ve have found another interesting fact (at least on my environment): if on my AndroidManifest.xml I set android:largeScreens=true, my avd running the skin WQVGA432 works just as it is supposed to (there shouldn´t be any connection between them, right?), but large

Re: [android-developers] Re: Different screen sizes x different layouts

2010-04-28 Thread Mark Murphy
Gabriel Simões wrote: In resume, should I have all those layouts to support all the devices? /res/layout-normal-mdpi /res/layout-normal-hdpi /res/layout-normal-ldpi /res/layout-large-mdpi /res/layout-small-ldpi That is impossible to answer in the abstract. For example, I have written

[android-developers] Re: Different screen sizes x different layouts

2010-04-28 Thread Gabriel Simões
If I´m allowed to make another question ... Any ideas on how I could handle the different screen height/width proportions (for example, the WVGA´s proportion is bigger than the HVGA ´s so a layout based on relativeLayout build up considering a HVGA device will leave a lot of empty space in the

Re: [android-developers] Re: Different screen sizes x different layouts

2010-04-28 Thread Mark Murphy
Gabriel Simões wrote: If I´m allowed to make another question ... Any ideas on how I could handle the different screen height/width proportions (for example, the WVGA´s proportion is bigger than the HVGA ´s so a layout based on relativeLayout build up considering a HVGA device will leave a

[android-developers] Re: Different screen sizes x different layouts

2010-04-27 Thread Gabriel Simões
Hello Mark, Thanks for your answer. WVGA/FWVGA is not necessarily large. The emulator gives you a high density normal size setup by default. You will need to adjust that configuration if you want a medium density large size screen: I´ve thought about that possibility and then I created a

[android-developers] Re: Different screen sizes x different layouts

2010-04-27 Thread Gabriel Simões
Well, In resume, should I have all those layouts to support all the devices? /res/layout-normal-mdpi /res/layout-normal-hdpi /res/layout-normal-ldpi /res/layout-large-mdpi /res/layout-small-ldpi On 27 abr, 22:48, Gabriel Simões gsim...@gmail.com wrote: Hello Mark, Thanks for your answer.

[android-developers] Re: Different screen sizes x different layouts

2010-04-27 Thread Gabriel Simões
Well, In resume, should I have all those layouts to support all the devices? /res/layout-normal-mdpi /res/layout-normal-hdpi /res/layout-normal-ldpi /res/layout-large-mdpi /res/layout-small-ldpi Also, I couldn´t find in the link you´ve posted how to create and AVD which simulates a Large

[android-developers] Re: Different screen sizes x different layouts

2010-04-27 Thread Gabriel Simões
Well, In resume, should I have all those layouts to support all the devices? /res/layout-normal-mdpi /res/layout-normal-hdpi /res/layout-normal-ldpi /res/layout-large-mdpi /res/layout-small-ldpi Also, I couldn´t find in the link you´ve posted how to create and AVD which simulates a Large