Ah, no worries, I have already filed one:
https://bugzilla.xamarin.com/show_bug.cgi?id=9370
Thanks,
Atsushi Eno
Jonathan Chapman wrote:
Thanks,
Do you still need me to file the bug or will handle that?
*Jonathan Chapman*
------------------------------------------------------------------------
*From:* Atsushi Eno [via Mono for Android] [mailto:[hidden email]]
*Sent:* Tuesday, January 08, 2013 1:45 AM
*To:* Jonathan Chapman
*Subject:* Re: Library Layouts and Drawables
Okay, I think I found the cause of the problem. In Android project, you
always have to name those resource files in lowercase. We somehow
extended this in application build, but that does not apply to library
projects.
I assume it is doable (it *seems* like it's *certainly* doable, but it's
not that simple), but until it is resolved in any form (preserve IDs in
library sources, or explicitly prohibit such resource file namings in
our build step), please stick to "Android conformant" resource naming,
which is foo_bar_baz not FooBarBaz.
(Those uppercase characters are rejected in Android's ant resource
builder i.e. aapt so they never appeared in Java binding projects.)
Atsushi Eno
Atsushi Eno wrote:
> It is hard to confirm and tell what happened without the actual code.
> Could you file a bug and attach your project there so that we can
> examine?
>
> Atsushi Eno
>
> Jonathan Chapman wrote:
>> We had a large library of resources that we used to just link in
because
>> Android resources could not be in libraries. I just upgraded to the
>> latest
>> and have spent all day converting the library to a true library.
>> I've just
>> gotten to the point where everything seems fine except in the
>> UpdateIdValues
>> where it does the mapping it's trying to map something like
>>
>> Library.Drawable.GreyLine = Application.Resource.Drawable.GreyLine;
>>
>> However in Application the resource id was generated as all lower case
>> instead of mixed case. Mixed Case would be correct. Please confirm
>> this is
>> a bug and then I'll temporarily change my library resource to be all
>> lower
>> case.
>>
>> Note that some things like Strings, styles and id's work. Just
Layours,
>> Menu, and Drawables do not.
>>
>> Regards,
>> Jonathan
>>
>>
>>
>> --
>> View this message in context:
>>
http://mono-for-android.1047100.n5.nabble.com/Library-Layouts-and-Drawables-tp5712710.html
>> Sent from the Mono for Android mailing list archive at Nabble.com.
>> _______________________________________________
>> Monodroid mailing list
>> [hidden email]
>>
>> UNSUBSCRIBE INFORMATION:
>> http://lists.ximian.com/mailman/listinfo/monodroid
>>
>>
>>
>
> _______________________________________________
> Monodroid mailing list
> [hidden email]
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
>
>
_______________________________________________
Monodroid mailing list
[hidden email]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid
------------------------------------------------------------------------
If you reply to this email, your message will be added to the
discussion below:
http://mono-for-android.1047100.n5.nabble.com/Library-Layouts-and-Drawables-tp5712710p5712714.html
To unsubscribe from Library Layouts and Drawables, click here.
NAML
<http://mono-for-android.1047100.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
------------------------------------------------------------------------
View this message in context: RE: Library Layouts and Drawables
<http://mono-for-android.1047100.n5.nabble.com/Library-Layouts-and-Drawables-tp5712710p5712715.html>
Sent from the Mono for Android mailing list archive
<http://mono-for-android.1047100.n5.nabble.com/> at Nabble.com.
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid