Configuration types and qualifier names for each folder under the res directory
suggest changeEach resource directory under res can have variations. The folder name is the resource type plus qualifier values, in the order Android expects for each configuration type.
These drawable variations are common:
- 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 | mcc310, mcc310-mnc004, mcc208-mnc00 |
| Language and region | en, fr, en-rUS, fr-rFR, fr-rCA |
| Layout direction | ldrtl, ldltr |
| smallestWidth | sw<N>dp, for example sw320dp, sw600dp, sw720dp |
| Available width | w<N>dp, for example w720dp, w1024dp |
| Available height | h<N>dp, for example 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, appliance, watch |
| 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) | v<N>, for example v3, v4, v7 |
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents