Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试设置启动画面。当我在中添加背景时LinearLayout,xml 没有向我显示该android:background选项。我已经将 (600 X 400).png 图像添加到 @drawable/hdpi 文件夹中。请帮帮我。
LinearLayout
android:background
它总是发生在我身上。确保您已经在可绘制文件夹中添加了图像,然后清理您的项目。这都是 Eclipse 的问题。
Xml 编辑器有时会变得混乱,我使用ctrl+shift+f它并且它再次工作,但在最近的 ADT 中并不经常发生。
ctrl+shift+f
它也可能在某个时候发生在我身上,没有任何特别的原因。但是,如果你只是把它写下来,没有 eclipse 的建议,它仍然会显示出来:)