java.lang.UnsupportedOperationException
- java.lang.UnsupportedOperationException
- at android.view.GLES20Canvas.clipPath(GLES20Canvas.java:287)
- at br.com.iba.view.PageCurlView.drawCurl(PageCurlView.java:284)
- at br.com.iba.view.PageCurlView.onDraw(PageCurlView.java:353)
- at android.view.View.draw(View.java:9291)
出现这个问题,在eclipse里面编译没有,在源代码中编译有,后来找到原因,是源码编译打开了硬件加速导致的,加上
- mImageView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
解决