2012-01-10 10 views
0

私はC++の経験はありますが、Androidでeclipseでjavaから始めています。 私は日食のチュートリアルを見ており、問題があります。次のエラーが表示されます。XMLの解析エラー:整形式ではありません(無効なトークン)

<?xml version="1.0" encoding="utf-8"?> 
<RelativeLayout 
xmlns:android="http://schemas.android.com/apk/res/android" 
android:layout_width="fill_parent" 
android:layout_height="fill_parent"> 


<TextView <== HERE I GET THE error: Error parsing XML: not well-formed (invalid token) 
    android:id="@+id/label" 
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content" 
    android:text="Type here:"> 
<EditText 
    android:id="@+id/entry" 
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content" 
    android:background="@android:drawable/editbox_background" 
    android:layout_below="@id/label"> 
<Button 
    android:id="@+id/ok" 
    android:layout_width="wrap_content" 
    android:layout_height="wrap_content" 
    android:layout_below="@id/entry" 
    android:layout_alignParentRight="true" 
    android:layout_marginLeft="10dip" 
    android:text="OK"> 
<Button 
    android:layout_width="wrap_content" 
    android:layout_height="wrap_content" 
    android:layout_toLeftOf="@id/ok" 
    android:layout_alignTop="@id/ok" 
    android:text="Cancel"> 

私は私のコードに問題が何であるか見当がつかない、

答えて

2

終了タグは、すべての要素のために不足しているありがとう助けてください。

関連する問題