How big is small, normal, large and xlarge?

后端 未结 3 704
孤独总比滥情好
孤独总比滥情好 2021-02-07 04:50

I know that there is a section in http://developer.android.com/guide/practices/screens_support.html about the categories of the physical screen sizes but the diagram is very rou

3条回答
  •  [愿得一人]
    2021-02-07 05:20

    In my experience, there are no "specific limits" to the screen sizes using the small, normal, large, x-large notation. They are more general and will get you by in the majority of cases. These values are part of the rom on the device, so it's up to the manufacturer to conform to the standards in the API documentation or not.

    If you are targeting API 13+, you can use the sw-dp notation to get more specific (see http://developer.android.com/guide/practices/screens_support.html#DeclaringTabletLayouts).

提交回复
热议问题