March 2013
Beginner to intermediate
580 pages
16h 11m
English
Before Android 3.2, the screen size qualifier was used to provide alternative resources based the size of a device.
Screen size is a qualifier that groups different devices into four broad categories – small, normal, large, and xlarge.
Table 22.1 shows the minimum screen sizes for each qualifier:
Table 22.1 Screen size qualifiers
| Name | Minimum screen size |
|---|---|
| small | 320x426dp |
| normal | 320x470dp |
| large | 480x640dp |
| xlarge | 720x960dp |
Screen size qualifiers were deprecated in Android 3.2 in favor of qualifiers that allow you test for the dimensions of the device. Table 22.2 shows these new qualifiers.
Table 22.2 Discrete screen dimension qualifiers
| Qualifier format | description |
|---|---|
| wXXXdp | Available width: width is greater ... |
Read now
Unlock full access