Here is the code:
imageIv.setImageResources(R.id.icon);
Calculating the image bitmap size:
imageIv.getDrawable().getBitmap();
Here is the result when put the image into different folders:
| folder | bitmap size |
| ---- | ---- |
| drawable | 96×96->36 k |
| xhdpi | 96×96->36 k |
| xxhdpi | 96×96->36 k |
| xxxhdpi | 84×84->27 k |
The image origin size is 96×96 px. As the above shown, why the bitmap size is different in xxxhdpi folder from other folders?


