IllegalArgumentException: width and height must be > 0 while loading Bitmap from View

后端 未结 5 1712
没有蜡笔的小新
没有蜡笔的小新 2020-11-27 22:17

I\'m trying to draw on an ImageViewTouch, a library which enables pinch zooming. I\'m able to draw over the image using Canvas, but when I zoom the image, the drawing disapp

5条回答
  •  旧巷少年郎
    2020-11-27 22:33

        new Handler().postDelayed(new Runnable() {
            @Override
            public void run() {
                loadBitmapFromView(mImage);
            }
        }, 1000);
    

提交回复
热议问题