mishkin
mishkin

Reputation: 6212

how drawables resources stored on device

guys, I wonder if you put images for each density type (low/medium/high) and there are quite a few of them, won't it increase the size of application footprint on internal memory?

I would hope that android will put only needed resource file from apk to the actual application folder. Can somebody confirm that?

Upvotes: 5

Views: 679

Answers (1)

hackbod
hackbod

Reputation: 91331

It will increase the size of the .apk, because those images need to be in the .apk. It will not increase the RAM footprint of the app at runtime. When an app is installed it is kept as its original .apk, so the storage space needed will be basically the size of your .apk.

Upvotes: 3

Related Questions