Good morning,

I got a little textview defined in layout xml:
===
<TextView android:id="@+id/tvCategory"
android:layout_width="wrap_content"
                android:background="@android:color/background_light"
android:layout_height="wrap_content"
                android:padding="2dp" android:layout_weight="1.0"
android:gravity="left" android:textColor="@android:color/
primary_text_light" />
===

As you can see the background color is "background_light" (this
results in white color) and the text color is
"primary_text_light" (this results in black color).

I would have thought that primary_text_light would result in a "light"
color like white, not black ;-)

When i change "primary_text_light" into "primary_text_dark" the text
color becomes color white.

Is this a bug in the naming of the default colors?

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

Reply via email to