问题
It is known to all that to block an Activity/Fragment we can use:
window.setFlag(WindowManager.LayoutManager.FLAG_SECURE, WindowManager.LayoutManager.FLAG_SECURE)
But this flag blocks the View from Activity.
If you have one bootomNav
with 3 Fragments and needs to block just the tab 1. In the moment setFlag
is bloked all Fragments.
There is any FLAG_XXXXX
for unblock the screenshot?
来源:https://stackoverflow.com/questions/59036381/block-and-unblock-screenshot-of-some-fragment