Android studio 像素化预览 [英] Android studio pixelated preview

查看:25
本文介绍了Android studio 像素化预览的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将 Android Studio 更新到 3.1.2 版后,出现了预览图像像素化/模糊的问题.谁能帮我解决这个问题?

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?

这就是图像的渲染方式

推荐答案

我在 Android Studio 3.3 中遇到了同样的问题,但幸运的是我已经设法找到了解决方案.您必须转到帮助"并单击编辑自定义属性".如果文件不存在,它可能会要求您生成一个文件.创建此属性文件后,您将需要编写hidpi=false"(无引号).保存并重启 Android Studio.当您再次打开它时,您仍然需要做一件事:转到文件,然后是设置,在搜索框中键入字体,从编辑器中选择字体,然后将字体大小更改为 15.(或您喜欢的任何大小).仅此而已.

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.

这篇关于Android studio 像素化预览的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆