Thanks,
 
Do you still need me to file the bug or will handle that?
 

Jonathan Chapman

 

________________________________

From: Atsushi Eno [via Mono for Android]
[mailto:[email protected]] 
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-Drawab
les-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-Drawab
les-tp5712710p5712714.html 
To unsubscribe from Library Layouts and Drawables, click here
<http://mono-for-android.1047100.n5.nabble.com/template/NamlServlet.jtp?
macro=unsubscribe_by_code&node=5712710&code=am9uYXRoYW5fQ2hhcG1hbkBhcGV4
c2kuY29tfDU3MTI3MTB8MTEyNTYwMzc5Mw==> .
NAML
<http://mono-for-android.1047100.n5.nabble.com/template/NamlServlet.jtp?
macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.nam
l.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nab
ble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nab
ble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email
%21nabble%3Aemail.naml>  




--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Library-Layouts-and-Drawables-tp5712710p5712715.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to