You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
I want to capture a specific view only .I did not found any documentation on it . Is this function available ?
Thank you
The text was updated successfully, but these errors were encountered: