android 使用第三方包后图片资源混乱


第三方包中、使用以下方式获取资源文件/控件:

int btnId = getResources().getIdentifier("button", "id",context.getPackageName());

Button btn = (Button) view.findViewById(btnId );

猜你喜欢

转载自gintama.iteye.com/blog/1676945
今日推荐