Is there a simple mapping between Codename One MultiImage sizes and Android's drawable resource folders?
When importing any image into CN1 as a multi-image, the following size options are given, no matter what size the base image file is:
- Very Low: 28x28
- Low: 36x36
- Medium: 48x48
- High: 72x72
- Very High: 96x96
- HD: 196x196
According the Android iconography, the following relative sizes should be used when creating drawables for the different folders:
- MDPI: 1x
- HDPI: 1.5x
- XHDPI: 2x
- XXHDPI: 3x
- XXXHDPI: 4x
This suggests the following mapping of Android dpi resources to CN1 multi-image sizes:
- LDPI --> Low
- MDPI --> Medium
- HDPI --> High
- XHDPI --> Very High
- XXHDPI --> HD
Coming from an Android background, this seems to simplify the concept quite nicely; is this correct?
To preempt, I have watched the MultiImage video in the How Do I? section, as well as the Android Trail.