Configuration Qualifiers
In the section called For the More Curious: Creating a Landscape Layout in Chapter 3, you saw the configuration qualifier layout-land, for landscape screen orientation. The device configurations for which Android provides configuration qualifiers to target resources are:
-
mobile country code (MCC), optionally followed by mobile network code (MNC)
-
language code, optionally followed by region code
-
layout direction
-
smallest width
-
available width
-
available height
-
screen size
-
screen aspect
-
round screen
-
wide color gamut
-
high dynamic range
-
screen orientation
-
UI mode
-
night mode
-
screen density (dpi)
-
touchscreen type
-
keyboard availability
-
primary text input method
-
navigation key availability ...
Get Android Programming: The Big Nerd Ranch Guide, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.