3
Normally I’m not satisfied with the first image I put up as background, is from Activity, textView, button, etc. Even imageViews at last.
It happens that I leave them there in the project, even not using them, with the thought that at a given moment I may need them, whether for a test or even a comparison.
These are all the "drawable" images of a project of mine:
It turns out that when I went to pass the apk to my physical android device, I found the size of the apk very large compared to the application which is quite simple actually. So I came up with the idea of analyzing the apk, so I realized that the images, even those that were not being used, were being accounted for in the weight of the apk:
I honestly did not understand why they are included in apk. Engines of games like Unity for example, delete unused images and files from your executable and the application itself.
I would like to know the explanation for this, because for me there is no sense, should count in apk only what is used.
It should, but it is not. Face the apk is like a zip.
– viana