Is it possible to create a bitmap image from a view or the screen in Android?
There are a couple of ways to do it. A simple one is to do the following:
Bitmap b = Bitmap.createBitmap(theView.getWidth(), theView.getHeight(), Bitmap.Config.ARGB_8888); Canvas c = new Canvas(b); theView.draw(c);
1.4m articles
1.4m replys
5 comments
57.0k users