screenshotty
screenshotty copied to clipboard
Capture specific view on window
I want to capture a specific view only .I did not found any documentation on it . Is this function available ?
Thank you
Do you need a function to get a screenshot just from view? This can be done like below: public static Bitmap shot(View view) { view.setDrawingCacheEnabled(true); Bitmap bitmap = view.getDrawingCache(); view.setDrawingCacheEnabled(false); return bitmap; }
Or do you need an option to get view region with all dialogs above?
thanks i got it i was wondering if it was possible using this library