我找不到eclipse上的xml图形布局选项卡 [英] I cannot find the graphical layout tab for xml on eclipse
问题描述
我正在尝试重新设计我们为Android项目使用的布局,但是当我拉起xml时,底部没有图形布局选项卡。我在XP上运行eclipse helios。有没有人知道如何找到它?
I am trying to redesign the layout that we are using for our Android project but when I pull up the xml there is no graphical layout tab at the bottom. I am running eclipse helios on an XP. Does anybody know how I can Find it?
推荐答案
- 关闭xml文件
- 在导航栏中右键单击
- 将鼠标悬停在 上
- 将显示与该文件类型相关的编辑器,并且默认的编辑器突出显示。
- Close the xml file
- Right click on it in the navigator
- Hover over open with
- The editors associated with that file type will be displayed, and the default editor highlighted.
默认值应为XML编辑器,如果不是,则选择它应该重置
您还可以在
下查看默认文件关联 - 窗口>首选项>常规>编辑器>文件关联
The default should be "XML Editor", if it is not, then by selecting it that should reset it to the default.
You can also check your default file associations under
- Window > Preferences > General > Editors > File Associations
如果XML编辑器不可用,请确保安装了Eclipse XML编辑器和工具。
If "XML Editor" is not available then ensure that you have the "Eclipse XML Editors and Tools" installed.
这篇关于我找不到eclipse上的xml图形布局选项卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!