简体   繁体   English

Eclipse ADT布局编辑器:无属性

[英]Eclipse ADT Layout Editor: no Properties

I have an odd problem: my layout editor is broken. 我有一个奇怪的问题:我的布局编辑器坏了。 The buttons in the first menu bar are missing and i can't get any properties on the right side. 第一个菜单栏中的按钮不见了,我无法在右侧获得任何属性。 Also, if i add a View in the XML directly, the layout won't be refreshed until i close the layout editor and open the xml again. 另外,如果我直接在XML中添加视图,则在关闭布局编辑器并再次打开xml之前,不会刷新布局。 I have found some discussions about missing properties, but this doesn't really help as the additional properties screen don't fix the other problems. 我发现了一些有关缺少属性的讨论,但这并没有真正的帮助,因为其他属性屏幕无法解决其他问题。

I have already reinstalled ADT - without success. 我已经重新安装了ADT-没有成功。

Screenshot of a default layout without any custom views 没有任何自定义视图的默认布局的屏幕截图

If other solutions don't work, it might be interesting to be a bit more drastic: set up a new workspace and re-import your android project. 如果其他解决方案不起作用,那么变得更加激烈可能会很有趣:设置一个新的工作区并重新导入您的android项目。

If that doesn't work => reinstall eclipse? 如果那不起作用=>重新安装Eclipse?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM