On Nov 18, 4:00 pm, Mark Wyszomierski <[EMAIL PROTECTED]> wrote:
> 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"
android:textColor="@color/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 [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
-~----------~----~----~----~------~----~------~--~---