15
例如,創建這個時候:爲什麼樣式和佈局使用android命名空間?
<TextView
style="@style/blah"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello" />
<include
layout="@layout/footer"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
可能的原因: style
和layout
在編譯時得到處理,但我不是100%肯定。
編輯:在AndroidManifest.xml
文件,package
同樣的事情。