There are many image file in my drawable directory. Is it bad?

Viewed 168

In my Android project, I used so many icons, images and SVG resources. In my drawable directory, there are 220-230 file I guess. Is it bad to store too many resources for my app, really I don't know. Thank you for your helpings.

3 Answers

No it is fine as long as you use all the drawables, it increases the size of the application. If you want to reduce the size, go through all the images and see if you can reuse a few. e.g suppose you have few logos then try to come up with a single logo to use everywhere to maintain consistency. This is a design perspective actually. So the best way is to consult a designer who will go through the whole app flow and make suggestions for a better user experience. Also just a FYI try to stick to a single theme across the app and to use text view if possible instead of image view to reduce the app size.

I think it's fine, too. But you can try to compress png file by plugin Biu for optimizing the size of the app

Yeah it is completely fine. But when you are trying this for the production it is better to reduce. Because when the user trying to download an application from playstore definitely he/she will look for the size. if possible reuse the elements. lot of images is not going affect the app performance. My opinion is to delete unused icons and other stuffs.

Related