Is there any way that I can avoid coping same files in different drawable folders?
Start by getting rid of the ones that you do not need:
res/drawable/
is unnecessary as it will never be used, since you have drawables in the various density buckets. Android will always scale one of yourres/drawable-*dpi/
resources to match the screen density, for densities that you are not using (e.g.,-tvdpi/
).If
res/drawable-sw360dp-land-xxhdpi/
has identical icon files to the ones inres/drawable-xxhdpi/
, then you do not needres/drawable-sw360dp-land-xxhdpi/
.If
res/drawable-sw6000dp-land-xhdpi/
has identical icon files to the ones inres/drawable-xhdpi/
, then you do not need `res/drawable-sw6000dp-land-xhdpi/.And so on
Beyond that, you can use bitmap resource aliases to allow one bitmap file to be represented in multiple resource directories.