O'Reilly logo

Android Programming: The Big Nerd Ranch Guide, Third Edition by Kristin Marsicano, Chris Stewart, Bill Phillips

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuration Qualifiers

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

The device configurations for which Android provides configuration qualifiers to target resources 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. screen orientation

  11. UI mode

  12. night mode

  13. screen density (dpi)

  14. touchscreen type

  15. keyboard ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required