Android app: support all screen sizes

According to this, there are four screen sizes, small, normal, large and large. Thus, these qualifiers correspond to specific screens. For example, a regular classifier is a 3.7inches screen, and a small classifier is a 2.7inches screen. So what happens with the other sizes? How does my app cover other sizes like 3.3 "or 3.2"?

+3


source to share


3 answers


The screen sizes you mentioned are for ranges. For example, a 3.3-inch screen is likely to fall into the "normal" category as it is larger than 2.7 but less than 3.7. now, said, there are some minor changes in terms of pixel density and that sort of thing, but the idea behind the screen sizes they chose is that there isn't much difference between a 3.2 "screen and a 3.3" screen, so if you write your layout correctly (using relative widths etc.) your application should look the same no matter if you are on 3.2 or 3.3. The reason they add in all of these sizes for the SDK is because you might want to show more information or do things differently.if your consumer is using a really small screen and a really big one (like a tablet). However, for the most part, relative layouts are short - don't use hard-coded pixel values ​​to sizing view elements if you can avoid it, and keep your layout fluidity - that way all screen sizes can be maintained with minimal work and testing with your sides.



+3


source


Doesn't seem like



2 inches to 3.7 inches fits under a small screen 3.5 to 4.5 inches normally where 4 inches to 7 inches means a large screen and 7 inches or more fits under a xlarge screen

+3


source


You cannot cover all sizes. You can read this article - http://developer.android.com/guide/practices/screens_support.html

+2


source







All Articles