0
我剛開始學習android,下面的代碼似乎是正確的,但我得到的錯誤。請幫忙。錯誤:「屬性缺少android名稱空間前綴」,
<TextView
android:id="@+id/intro"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Enter some text:"
/>
我剛開始學習android,下面的代碼似乎是正確的,但我得到的錯誤。請幫忙。錯誤:「屬性缺少android名稱空間前綴」,
<TextView
android:id="@+id/intro"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Enter some text:"
/>
請確認您已加入xmlns:android="http://schemas.android.com/apk/res/android"
到您的第一個XML元素(<xml>
標籤後)。