Streets, can you send me the XML you're inflating?

thanks,
Xav

On Fri, Feb 4, 2011 at 1:11 PM, Xavier Ducrohet <[email protected]> wrote:
> On Fri, Feb 4, 2011 at 1:02 PM, Tor Norbye <[email protected]> wrote:
>>> java.lang.NumberFormatException: Color value '@color/screen_bg_top'
>>> must start with #
>>>        at
>>> com.android.layoutlib.bridge.impl.ResourceHelper.getColor(ResourceHelper.java:
>>> ...
>>> It seems that the ResourceHelper.getColor should support color-
>>> references, not only constant color-values (starting with #).
>>
>> The documentation for color resources seems to indicate that these
>> colors must be specified as hex colors:
>>
>> http://developer.android.com/guide/topics/resources/color-list-resource.html
>>
>> "android:color
>> Hexadeximal color. Required. The color is specified with an RGB value
>> and optional alpha channel.
>> The value always begins with a pound (#) character and then followed
>> by the Alpha-Red-Green-Blue information in one of the following
>> formats:"
>
> I think it's a case of not resolving the references. I'll look into it.
>
>
>
> --
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.
> http://developer.android.com | http://tools.android.com
>
> Please do not send me questions directly. Thanks!
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. 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

Reply via email to