Configuration Qualifiers

You have now seen and used several configuration qualifiers for providing alternative resources: language (such as values-es), screen orientation (layout-land), and screen density (drawable-mdpi).

The device configurations that Android provides configuration qualifiers to target resources for are:

  1. mobile country code (MCC), optionally followed by mobile network code (MNC)

  2. language code, optionally followed by region code

  3. layout direction

  4. smallest width

  5. available width

  6. available height

  7. screen size

  8. screen aspect

  9. round screen (API level 23 and above)

  10. wide color gamut

  11. high dynamic range

  12. screen orientation

  13. UI mode

  14. night mode

  15. screen density (dpi)

  16. touchscreen type

  17. keyboard availability ...

Get Android Programming: The Big Nerd Ranch Guide, 4th Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.