Anyone knows how to hide the content of your app when the user goes in the Current Apps Manager? Like this is link is explaining for ios : http://pinkstone.co.uk/how-to-control-the-preview-screenshot-in-the-ios-multitasking-switcher/
Thanks!
Anyone knows how to hide the content of your app when the user goes in the Current Apps Manager? Like this is link is explaining for ios : http://pinkstone.co.uk/how-to-control-the-preview-screenshot-in-the-ios-multitasking-switcher/
Thanks!
Somehow this did not work for me.. even though I read it was supposed to.
android:excludeFromRecents="true"
However, using this in your activity will do the trick:
getWindow().setFlags(LayoutParams.FLAG_SECURE, LayoutParams.FLAG_SECURE);
Thanks for your answers CommonWare & NavjotSingh
In android manifest file, in activity tag, use this
android:excludeFromRecents="true"