[android-developers] Re: attributes for multiple resources in attrs.xml

2009-04-20 Thread Vlemmix
Thanks! On Apr 17, 6:56 pm, Dianne Hackborn wrote: > Just don't re-declare the format in the second one.  Also, if this is a > color, don't you want the format to be "color"?  As it is now, when you > write a color of the form "0xfff" you will not get the right integer value > for an aarrggbb co

[android-developers] Re: attributes for multiple resources in attrs.xml

2009-04-17 Thread Dianne Hackborn
Just don't re-declare the format in the second one. Also, if this is a color, don't you want the format to be "color"? As it is now, when you write a color of the form "0xfff" you will not get the right integer value for an aarrggbb color. Oh and I am almost positive the framework already has a