2014-09-10 144 views
0
<linearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
xmlns:tools="http://schemas.android.com/tools" 
android:layout_width="match_parent" 
android:layout_height="match_parent" 
android:background="#FFCCCCCC" 
android:orientation="vertical" 
tools:context=".MainDrawingActivity" > 

</linearLayout> 

我找不到缺少的東西......請幫忙嗎?屬性缺少android命名空間前綴,找不到錯誤

回答

2

它是LinearLayout,而不是linearLayout。大寫你的L.

+0

正是那個^^ – KRUKUSA 2014-09-10 21:15:36

+0

啊,現在我覺得有點尷尬......謝謝! – user185578 2014-09-10 21:15:49

+0

使用像Android Studio這樣的IDE,它自動完成這樣的事情。 – VM4 2014-09-10 21:16:41