我得到一个当XML文件的部分代码如下:“没有XML内容请添加到您的文档根视图或布局。”:Android的XML图形布局不工作的Eclipse IDE
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello" />
</LinearLayout>
一如既往的帮助,非常感谢。
你正在使用什么版本的ADT? – yorkw 2012-02-24 01:17:34
我正在使用r16。 – jersam515 2012-02-24 01:18:06
它在我的日食中正常工作,所以建议清理你的项目并重建。 – idiottiger 2012-02-24 01:23:26