On 26 May 2010 19:58, Mark Carter <[email protected]> wrote: > On 26 May 2010 20:33, Xavier Ducrohet <[email protected]> wrote: >> >> The problem is not so much generating the R class, it's making sure >> the library project is compiled with this "composite" R class made of >> all the projects (main + libs). > > Is it essential for the library project to be compiled with the composite R > class? > At each level in the library hierarchy, the R class would only include the > resources of its own project and any descendant libraries. You could enforce > that no two projects in the hierarchy define the same resource (otherwise > give a compiler error). >
By compiling the library with the composite R you are allowing your application to override a resource used by the library. Which I think is a very good thing. Andrew -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

