Hi,

I  defined a colors.xml file in my "values" folder, with the following
contents:

    <resources>
        <color name="clr_edit_hilite">#FFD9FF77</color>
    </resources>

How do I reference it from a layout.xml file?

    <TextView android:id="@+id/test"
                android:textColor="@+colors/clr_edit_hilite"
                />


Is that the right way?

Thanks
--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to