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!
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With