Load resource (layout) from another apk
问题 I am wondering if it is possible to load a layout xml file from another apk. I know how to get access to another applications resources, but i am unsure how to load an xml if its even possible. Would I have to parse the xml if I wanted to set that layout as a view using layout inflater? Sort of like these steps... Use XmlPullParser.setInput to "load" the XML file Convert it to an AttributeSet Create a View from this AttributeSet use setContentView(View) in your Activity I guess what i am