Configuration types and qualifier names for each folder under the res directory
suggest changeEach 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:
| Configuration | Qualifier Values | | ————— | —————— | |MCC and MNC| Examples: | | | mcc310 | | | mcc310-mnc004 | | | mcc208-mnc00 | | | etc. | |Language and region| Examples: | | | en | | | fr | | | en-rUS | | | fr-rFR | | | fr-rCA | |Layout Direction| ldrtl | | | ldltr | |smallestWidth| swdp | | | Examples: | | | sw320dp | | | sw600dp | | | sw720dp | |Available width| wdp | | | w720dp | | | w1024dp | |Available height| hdp | | | h720dp | | | h1024dp | |Screen size| small | | | normal | | | large | | | xlarge | |Screen aspect| long | | | notlong | |Round screen| round | | | notround | |Screen orientation| port | | | land | |UI mode| car | | | desk | | | television | | | appliancewatch | |Night mode| night | | | notnight | |Screen pixel density (dpi)| ldpi | | | mdpi | | | hdpi | | | xhdpi | | | xxhdpi | | | xxxhdpi | | | nodpi | | | tvdpi | | | anydpi | |Touchscreen type| notouch | | | finger | |Keyboard availability| keysexposed | | | keyshidden | | | keyssoft | |Primary text input method| nokeys | | | qwerty | | | 12key | |Navigation key availability| navexposed | | | navhidden | |Primary non-touch navigation method| nonav | | | dpad | | | trackball | | | wheel | |Platform Version (API level)| Examples: | | | v3 | | | v4 | | | v7 |