What I've done
I've created a library project that contains several custom views complete with custom attributes. The library also contains a test layout to test the views.
I also read: https://code.google.com/p/android/issues/detail?id=9656#c81
So, within the test layout of the library I do make use of the http://schemas.android.com/apk/res-auto
namespace.
What I'm trying to do
I then started a new project to consume the library, and including the library to this project was very easy when sharing source code; within the test-app's main activity I could easily inflate the test layout using setContentView(R.layout.libactivity)
However, after closing the library project and attempting to use a jar of the library is proving difficult !
I found the library jar in the /bin folder of the library - but that only contained classes and no resources.
I then exported a jar of the library - and that contained resources files as well as .class files. BUT how is this used?
Specific problem
How is it possible to inflate the libactivity
test activity that I included in the library ?
I know there's similar questions like this on stackoverflow - but they seem to be outdated and conflicting because Google made it possible to include resource files in library's.