One PNG image for all densities

274 Views Asked by At

Can I use just one png image big enough for all densities? Or do I need to create one png image for every density? I tries placing just one png image in drawable folder but it becomes blurry. So I placed that same image in the drawable-xxhdpi (my test device density) and it shows correctly (clear). I guess that the blurry effect is because it is multiplying for the scale factor of the screen density. The idea should be to say to Android to take the big image (xxxhdpi) and make it smaller (never bigger).

0

There are 0 best solutions below