0

コードの最後の行で、Parsing XML エラーが発生しています。それが私の他の5つのエラーの原因でもあると思います。私はコーディングが初めてなので、この問題に対処するために必要な情報を提供するために最善を尽くします.

      <?xml version="1.0" encoding="utf-8"?>
        <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    >
<Button android:id="@+id/btnStart" android:layout_width="wrap_content"android:layout_height="wrap_content" android:text="Start AsyncTask"></Button>
<Button android:id="@+id/btnSend" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Send Message"></Button>
<TextView android:id="@+id/textStatus" android:textSize="24sp" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Status Goes Here" 
4

1 に答える 1

3

これは私が気づいたことです。

  1. TextView要素の終了タグはありません。
  2. 最初のButton要素では、属性android:layout_widthとの間にスペースはありませんandroid:layout_height
于 2012-07-13T14:46:36.543 に答える