I am trying to write a library that can be used as a JAR file. This library will include Activity, and I would like to include the layout in the JAR. Since it is not possible to include resource files in the JAR, and I donβt want end users to have to include these files themselves, I thought it would be nice to hack XML as a string and then manually inflate It. Does anyone know if this is possible? Any other ideas?
source
share