【问题标题】:What is considered small, normal, large and xlarge screen sizes by android dashboards, in inches?android仪表板认为小,正常,大和超大屏幕尺寸,以英寸为单位?
【发布时间】:2016-06-18 08:59:44
【问题描述】:

阅读Android Dashboards 我可以看到屏幕尺寸在类别(小、正常、大和 Xlarge)中的分离,但我找不到这些类别对应的实际尺寸。 我想要类似的东西:

  • 正常 = 4'' 到 5''
  • 大 = 5'' 到 6''

所以我的问题是:

什么是小屏幕、正常屏幕、大屏幕和超大屏幕尺寸(以英寸为单位)?

【问题讨论】:

    标签: android


    【解决方案1】:

    the documentation中的定义用dp表示:

    • xlarge 屏幕至少为 960dp x 720dp
    • large 屏幕至少为 640dp x 480dp
    • normal 屏幕至少为 470dp x 320dp
    • small 屏幕至少为 426dp x 320dp

    一英寸有 160dp。所以,你得到:

    • xlarge 屏幕至少为 6" x 4.5"
    • large 屏幕至少为 4" x 3"
    • normal 屏幕至少约为 2.9" x 2"
    • small 屏幕至少约为 2.7" x 2"

    【讨论】:

      【解决方案2】:

      这是旧信息。参考这个链接:http://developer.android.com/guide/practices/screens_support.html

      A set of four generalized sizes: small, normal, large, and xlarge
      
      Note: Beginning with Android 3.2 (API level 13), these size groups are deprecated in favor of a new technique for managing screen sizes based on the available screen width.
      

      但这里是尺寸:

      xlarge screens are at least 960dp x 720dp
      large screens are at least 640dp x 480dp
      normal screens are at least 470dp x 320dp
      small screens are at least 426dp x 320dp
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2013-07-19
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2012-05-31
        • 1970-01-01
        • 2012-04-08
        相关资源
        最近更新 更多