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 working great! indeed better than I expected. Well, I wrote "was" because I only tested on emulators of small (QVGA) and medium size (WQVGA, FWQVGA, HVGA, WVGA, FWVGA) displays. When I tried to use /layout-long on emulators of large displays (skins WVGA800 and WVGA854 with density = 160 - medium) all my widgets were displayed just like in the HVGA emulator (I guess as expected since they have the same density) but, as the screen is much bigger, they were completly misplaced. Is that the expected behavior for the system or should it understand that the layout was created for a medium display and rescale it? If not, then I should work on /layout-large-long, right (or just layout-large)? Thanks, Gabriel Simões On 28 abr, 13:16, Mark Murphy <[email protected]> wrote: > 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 lot of empty space in the bottom of a WVGA > > device). That´s my main problem right now and to fix this I can only > > think about creating a new layout for large/normal-hpdi devices, one > > for normal-ldpi (if the one for the large screens doesn´t work here, > > but I think this should work) and a last one for small-ldpi devices. > > There are the -long and -notlong resource set suffixes you can use to > distinguish between these aspect ratios. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Android Development Wiki:http://wiki.andmob.org > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group > athttp://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

