Android的可视化编辑器不允许编辑 [英] Android visual editor doesn't allow editing

查看:270
本文介绍了Android的可视化编辑器不允许编辑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在大纲视图属性大多在看似禁用状态,而采用Android可视化编辑器。只有这些属性,打开一个布局文件时,其中已经有一些内容都可以进行编辑。点击时其他人可能会弹出一些窗口,但即使选择有事没事后得到改变。

似乎没有被任何有意义通过Android SDK中管理器或Eclipse的插件中进行更新。我使用Eclipse 3.7。什么是错的编辑器?


解决方案

如果该属性行有灰色的背景(你形容为已禁用),这意味着酒店的默认值集。在这种情况下,没有属性条目中的XML设置<​​/ P>

如果您选择多个元素,属性显示的灰色如果的的元素有一个属性集,白空如果属性被设置的部分而非全部的元素,和白色文字时的所有的所选元素具有相同的值。注意当您使用按字母顺序排序按钮,即多选只正常工作。

有时,属性编辑器可以是一个有点不甘心,但如果你双击,在弹出的如图中的条目,或preSS输入选择一个建议值时,该属性应该设置。

Properties in the Outline-view are mostly in seemingly disabled state, while using Android visual editor. Only those properties, which already had some content when opening a layout-file are available for editing. Others might pop up some window when clicked, but even after selecting something nothing gets changed.

There doesn't seem to be anything meaningful to update via Android SDK Manager or among the Eclipse-plugins. I'm using Eclipse 3.7. What's wrong with the editor?

解决方案

If the property line has gray background (what you describe as "disabled"), it means that property has the "default" value set. In that case, no attribute entry is set in the xml.

If you select multiple elements, properties are shown gray if none of the elements has that property set, white and empty if the property is set by some but not all elements, and white with text when all selected elements have the same value. Note that multi-selection only works properly when you use the "sort alphabetically" button.

At times, the property editor can be a bit unwilling, but if you double click an entry shown in the popup, or press enter when selecting a proposed value, the property should be set.

这篇关于Android的可视化编辑器不允许编辑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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