[mono-android] Library resources

Atsushi Eno atsushieno at veritas-vos-liberabit.com
Wed Dec 12 19:52:44 UTC 2012


Hello,

I put an example (very simple) case in our samples repo:
https://github.com/xamarin/monodroid-samples/tree/master/ManagedAndroidResourceTest

The application references some string resource from the reference library.

The resource IDs work pretty much like those in Android Java libraries 
and "aapt" does - library resource IDs are *not* constant, and replaced 
their values later at application build phase.

Atsushi Eno

mario federici wrote:
> Hello,
>
> in the latest release I see that "Library Projects can now contain 
> Android Resources.". Can you provide me an example?Since I googgled 
> around without finding an example. I'm looking for an example where 
> the library can own (and access) its own resources (something like 
> Resource.Designer.cs). Is it possible? Or did I misunderstand your claim?
>
> Regards,
>     Mario.
>
>
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid



More information about the Monodroid mailing list