Issue a developer warning if density is present but invalid.
Merge pull request #285 from mounirlamouri/icon_density_warning

Issue a developer warning if density is present but invalid.