Android Studio像素化预览 [英] Android studio pixelated preview
问题描述
在将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屋!