resultLayout.setDrawingCacheEnabled(true);
Bitmap result = frame.getDrawingCache(); //Bitmap 생성
....
frame.setDrawingCacheEnabled(false); //Bitmap이 recycle되어버린다.
resultLayout.setDrawingCacheEnabled(true);
Bitmap result = frame.getDrawingCache(); //Bitmap 생성
....
frame.setDrawingCacheEnabled(false); //Bitmap이 recycle되어버린다.