9

After updating Android studio to version 3.1.2 an issue popped up where the preview image is, pixelated/blurry. Can anyone help me fix this issue?

This is how the image is rendered

enter image description here

Rohit5k2
  • 17,948
  • 8
  • 45
  • 57

4 Answers4

12

I have encountered the same problem in Android Studio 3.3 but fortunately I've managed to find a solution. You have to go to "Help" and click on "Edit Custom Properties". It might ask you to generate a file if it doesn't already exist. Once this properties file is made, you will need to write "hidpi=false" (no quotations). Save it and restart Android Studio. When you open it again , you still need to do one thing: go to File then Settings, type font in search box, select font from editor then change the size of font to 15. (or what ever size you prefer). That's all.

Cristian Babarusi
  • 1,455
  • 14
  • 19
0

I'm not sure weather it will work for your scenario. I had a issue with icon pixels and I followed this.

I hope it will help you.

Create a drawable-xxhdpi directory and add all your images in that and try.

NOTE : I'm not sure that this process helps you or not.

link help you to create drawable-xxhdpi directory

Chethan Kumar
  • 185
  • 1
  • 12
0

I'm having the same problem and it is somehow annoying i opened a bug ticket and i will wait for there response here is the ticket link : https://issuetracker.google.com/110463869

Amrmohamed
  • 23
  • 5
0

I solve this problem pretty easy after learning documentation.

You need to change your scale display parameter. Because Android Studio supports only certain scale. Use 100% or 200% and your design tab in Android will be sharp again

enter image description here

Choose "answer is useful" mark)) if it helps you.