Reason why style attribute does not use the android: namespace prefix

android, xml, xsd

Solution

From the documentation:

Note: The style attribute does not use the android: namespace prefix.

The reason `style` doesn't use the android namespace prefix is because it is part of the stock XML attributes.

Problem

In Android what is the reason that the style attribute does not use the android: namespace prefix? See how `style` doesn't start with `android:`? Anyone know why? ``` <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="I Love Android!" style="@android:style/TextAppearance.Large" /> ``` http://developer.android.com/guide/topics/ui/themes.html Thanks!

Original source