O'Reilly logo
  • Dave Burke thinks this is interesting:

Smallest width is a system value that represents the shorter of the two dimensions of the screen size, regardless of the orientation of the device. Current width is the width of the device in the orientation as of right now. The qualifier in the layout resource directory name will be –sw<N>dp or –w<N>dp, respectively, where <N> is the minimum size of the width you want to specify. For example, use /res/layout-sw600dp or /res/layout–w720dp to specify a shortest width of 600 density-independen...


Cover of Expert Android


Smallest width and current width distinctions with resource qualifiers