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
[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
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid