Jelly Jelly - 2 months ago 34
Android Question

Android layout alternative resources

I have an issue with android layouts. I have different values for dimensions (in dp) for each screen size category

small, normal, large, xlarge
used in my layout, but for some reason my layout still looks way bigger on galaxy s2 compared with xperia s although they both have 4.3 inches. Shouldn't android take care automatically of that? Am I missing something? I think using
will add too much overhead since I'd have many


It turns out that its not such a big difference (it looked that way because textviews don't split the words at the end of the line) after all, but still there is about 20dp extra space in xperia s width. Which I think its normal for android since the docs say:

normal screens are at least 470dp x 320dp