我在它的工作中使用svg-android.jar
fromhttps://github.com/pents90/svg-android
很好,但只在 eclipse 中的模拟器设备上使用。啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊 在真实设备上,它只是imageView
在屏幕上为空。这是我的代码:
SVG svg = SVGParser.getSVGFromResource(getResources(), R.raw.test);
Drawable drawable = svg.createPictureDrawable();
imgView.setImageDrawable(drawable);
有什么建议吗?