smallestWidth sw<N>dp

Examples:
sw320dp
sw600dp
sw720dp
etc.

Some values you might use here for common screen sizes:

  • 320, for devices with screen configurations such as:
    • 240x320 ldpi (QVGA handset)
    • 320x480 mdpi (handset)
    • 480x800 hdpi (high density handset)
  • 480, for screens such as 480x800 mdpi (tablet/handset).
  • 600, for screens such as 600x1024 mdpi (7" tablet).
  • 720, for screens such as 720x1280 mdpi (10" tablet).
posted on 2011-08-13 02:05  陈孝勇  阅读(414)  评论(0编辑  收藏  举报