On Nov 29, 2012, at 1:18 PM, Steve Sharrock <[email protected]> wrote: > I use camel-case names (upper and lower) for most resources > (styles/dimens/strings); but, I've noticed that referring to a Color resource > the reference from my .axml is forced to lower case and results with the > error... > > No resource found that matches the given name (at 'background' with value > '@color/gridheadbg' > > The Color name in this case is GridHeadBG.
Where is GridHeadBG coming from? Is it defined in a Resources\Color\GridHeadBG.xml file [0]? > The work-around is pretty obvious - change all color resource names to > lower-case. We do, for file-backed resource names. Resource names that come from non-file sources -- e.g. +@id's within .axml files -- are not altered. Could you provide a more complete example? Thanks, - Jon [0]: http://developer.android.com/guide/topics/resources/color-list-resource.html _______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
