开发者

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜