Android : Hide specific views in the screenshot

345 Views Asked by At

I saw that we can disable screenshot of a window using the flag WindowManager.LayoutParams#FLAG_SECURE. I see that we can set secure flag for SurfaceViews. Is it possible to hide a specific view like TextView from appearing in the s screenshot

0

There are 0 best solutions below