0

仅对当前向下滚动的 ScrollView 使用 draw(Canvas) 方法,足以制作快照吗?

代码:

Bitmap bitmap = Bitmap.createBitmap(scrollView.getWidth(), scrollView.getHeight(), Config.ARGB_8888);
Canvas canvas = new Canvas(bitmap);
scrollView.draw(canvas);
4

0 回答 0