Normal layout for HVGA and WVGA (hdpi) but different result
i have tried XML normal layout for HVGA and WVGA (hdpi), but when i try it in AVD different result. any one can help开发者_开发问答 me? thanks
To target HVGA 320*480 use:
layout-normal-mdpi
At the same time to support WVGA screens and i.e. Galaxy Tab you need:
layout-normal-hdpi
folders.
Please refer to Supporting Multiple Screens.
300dip in HVGA(320x480) is 300px
300dip in WVGA800(480x800) is 450px
So they got different results.
HVGA is normal screen and WVGA is large screen but both mdpi so make different folder named with qualifiers.
Please find more from here:
http://developer.android.com/guide/practices/screens_support.html#testing
http://developer.android.com/guide/practices/screens_support.html#qualifiers
精彩评论