摘要:
主要代码如下:private void getScreen(View view, String filePath) { try { Bitmap bitmap = Bitmap.createBitmap(view.getWidth(), view.getHeight(), Config.ARGB_8888); Canvas canvas=new Canvas(); canvas.setBitmap(bitmap); view.draw(canvas); ... 阅读全文