On Nov 19, 2:14 am, "Dianne Hackbod" <[EMAIL PROTECTED]> wrote:
> Don't do the '+'.  Just reference it with '@colors/clr_edit_hilite'.

AFAIK is "color" (singular) not "colors" (plural) what you have to use

>
> On Tue, Nov 18, 2008 at 3:30 PM, Diego Torres Milano <[EMAIL PROTECTED]>wrote:
>
>
>
>
>
> > 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
>
> --
> Dianne Hackborn
> [EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
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