Android : How to share layout+drawable resources between packages?
I'd like to be able to change the UI layout of an activity, based on a layout (+ it's own drawables) provided by another package (plugin theme). That's something really new to me, and I need some directions.
I already know that resources id cannot be shared, but assuming we managed to inflate the root view, we could retrieve the widgets by using the findViewWithTag().
Any ideas ?
resources can be shared in lib. See this link maybe now you can change your strategy