Android Configuration types and qualifier names for each folder under the "res" directory


Example

Each resource directory under the res folder (listed in the example above) can have different variations of the contained resources in similarly named directory suffixed with different qualifier-values for each configuration-type.

Example of variations of `` directory with different qualifier values suffixed which are often seen in our android projects:

  • drawable/
  • drawable-en/
  • drawable-fr-rCA/
  • drawable-en-port/
  • drawable-en-notouch-12key/
  • drawable-port-ldpi/
  • drawable-port-notouch-12key/

Exhaustive list of all different configuration types and their qualifier values for android resources:

ConfigurationQualifier Values
MCC and MNCExamples:
mcc310
mcc310-mnc004
mcc208-mnc00
etc.
Language and regionExamples:
en
fr
en-rUS
fr-rFR
fr-rCA
Layout Directionldrtl
ldltr
smallestWidthswdp
Examples:
sw320dp
sw600dp
sw720dp
Available widthwdp
w720dp
w1024dp
Available heighthdp
h720dp
h1024dp
Screen sizesmall
normal
large
xlarge
Screen aspectlong
notlong
Round screenround
notround
Screen orientationport
land
UI modecar
desk
television
appliancewatch
Night modenight
notnight
Screen pixel density (dpi)ldpi
mdpi
hdpi
xhdpi
xxhdpi
xxxhdpi
nodpi
tvdpi
anydpi
Touchscreen typenotouch
finger
Keyboard availabilitykeysexposed
keyshidden
keyssoft
Primary text input methodnokeys
qwerty
12key
Navigation key availabilitynavexposed
navhidden
Primary non-touch navigation methodnonav
dpad
trackball
wheel
Platform Version (API level)Examples:
v3
v4
v7