[英]How do I get rid of the images left of the code in Android Studio
Basically, how can I hide these icons that appear automatically when I get the ID of a drawable in Java code? 基本上,当我用Java代码获得可绘制对象的ID时,如何隐藏这些自动出现的图标? Or at least limit their number to 1 instead of 5?
或者至少将其数量限制为1而不是5?
I've looked everywhere in the settings and can't seem to find anything. 我在设置中到处都有,似乎什么也找不到。 And they are pretty annoying, as they take away quite a bit of coding space.
而且它们很烦人,因为它们占用了大量的编码空间。
You can disable the icons by going to preferences -> Editor -> Appearance. 您可以通过转到首选项->编辑器->外观来禁用图标。 There you will find a checkbox saying Show icons preview in gutter for small icons.
在那里,您会看到一个复选框,其中显示“在檐槽中显示图标预览”以显示小图标。 (Java)
(JAVA)
You can also disable css color previews there if you want. 如果需要,您还可以在此处禁用css颜色预览。 For the change to take effect I had to restart Android Studio.
为了使更改生效,我必须重新启动Android Studio。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.