Whether can set the theme of ProjectA to ProjectB?
Whether can set the theme of ProjectA to ProjectB? how t开发者_如何学Goo modify framework to support it? The code like that:
friendContext = this.createPackageContext("com.android.projecta",
Context.CONTEXT_IGNORE_SECURITY);
Theme theme=friendContext.getTheme();
setTheme(theme);
There is not api like: setTheme with Theme object.
This idea is not so unreasonable or can not be realized?
精彩评论