3
该代码始终返回null如何从资产文件夹中的图像创建绘图?
String path = "file:///android_asset/image.png";
Drawable d = null;
try {
d = Drawable.createFromStream(ContextHolder.getActivity().getAssets().open(path), null);
} catch(Exception e) {
}