SyntaxFix
Write A Post
Hire A Developer
Questions
This is a working code
imageView.setDrawingCacheEnabled(true); imageView.buildDrawingCache(); Bitmap bitmap = Bitmap.createBitmap(imageView.getDrawingCache());