I would like to hide content of my android app in the app preview mode. I am referring to the view you see when switching between apps.
The following window settings hides the content but it also disables the ability to take screenshots of the app which I don't want
activity.Window.SetFlags(WindowManagerFlags.Secure, WindowManagerFlags.Secure);
Is there a setting I could use to hide the app content but still allow the user to take screen shots?
Here is an example of the app preview where the content isn't hidden
