Image defined in density-independent drawable folder
Image defined in density-independent drawable folder
The res/drawable folder is intended for density-independent graphics such as shapes defined in XML. For bitmaps, move it to drawable-mdpi
and consider providing higher and lower resolution versions in drawable-ldpi
, drawable-hdpi
and drawable-xhdpi
. If the icon really is density independent (for example a solid color) you can place it in drawable-nodpi
.
Issue id: IconLocation
https://developer.android.com/guide/practices/screens_support.html
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for Android 2023.3, Qodana for JVM 2023.3 |
Plugin: | Android, 2022.3.1 Beta 2 |
Last modified: 13 July 2023