标签:ima cto and package string 字符串拼接 substring roi code
ApplicationInfo appInfo = getApplicationInfo();
int resID = getResources().getIdentifier(substring, "mipmap", appInfo.packageName);
// BitmapFactory.decodeResource(getResources(), resID);
imDanci1.setImageResource(resID);
标签:ima cto and package string 字符串拼接 substring roi code
原文地址:https://www.cnblogs.com/zhangxuetao/p/13437704.html