我是 android 开发的新手,我正在尝试按照本书中的说明进行操作。http://amzn.to/4nck80我就是无法让它工作!
<?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" ></LinearLayout>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello" />
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="This is my first android application!" />
<Button
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="And this is a clickable button!" />
</Button>LinearLayout>
我收到错误
文档中根元素之后的标记必须格式正确。
通过第一个 Textview 和警告
在布局文件中发现意外的文本:“LinearLayout>”
经过</Button>LinearLayout>