Saturday, March 24, 2012

[android-developers] So why is the "style" attribute for a view not in the "android" namespace?

I'm just curious about the background on this, but I was wondering why the "style" attribute in a view definition isn't in the "android" namespace.

For instance, in the following sample:
<TextView  android:id="@+id/errorText"
    style="@style/ErrorText"
    android:text="No errors at this time"
    />

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment