Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
仅对当前向下滚动的 ScrollView 使用 draw(Canvas) 方法,足以制作快照吗?
代码:
Bitmap bitmap = Bitmap.createBitmap(scrollView.getWidth(), scrollView.getHeight(), Config.ARGB_8888); Canvas canvas = new Canvas(bitmap); scrollView.draw(canvas);