1

When i copy-paste an image to the drawable file, i get one image with the original resolution. When i use the New--ImageAset way i get a lot of images for different screen densities but they are all blurry, even xxhdpi! How can i have the different densities inages without this problem? Im surprise i didnt noticed it before!

I read this but it hasnt helped me Android ImageView blurry? http://developer.android.com/guide/practices/screens_support.html

Any advice am i doing it wrong?

EDIT

I tried the AndroidAssetStudio but it still happens

Before enter image description here

After (xxhdpi) enter image description here

Cant i get it to be the ldpi and then make it scale up from it or something?

Community
  • 1
  • 1
qera hile
  • 112
  • 3
  • 10

2 Answers2

1

You can create your image in different resolutions using Android Assets Studio. Then, copy paste the image to the respective folder. This will give you a proper image, without blur.

Marcus
  • 6,697
  • 11
  • 46
  • 89
0

There is a plugin exactly made for the same purpose. You can use that plugin to make different sizes of the same image. You have to copy/paste a single image in drawable folder. Then right click drawable folder and select NEW>Batch_Drawable_Import. Select the size for your image and it will itself make the other sized images for you.

Ahsan Hayat
  • 131
  • 3