.xml中的问题
<LinearLayout xmlns:android="http://schemas.xmlns:tools="http://schemas.
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
<TextView
android:id="@+id/textview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/1" />
<Button
android:id="@+id/button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="#FF0000"
android:text="button" />
</LinearLayout>
显示这样的错误:Element type "LinearLayout" must be followed by either attribute specifications, ">" or "/>".