I\'m trying to save a Layout into an Image in the SDCard but I get this error. I tried several codes I found in this forum but all of them have the same compress call that is gi
This is probably causing the bitmap to be recycled:
v.setDrawingCacheEnabled(false); // clear drawing cache
If you want the bitmap to hang around longer, then you should copy it.