A
A
Alexey2015-10-12 14:11:58
Android
Alexey, 2015-10-12 14:11:58

How to disable the display of information (pictures) of the application in the multitasking menu?

Actually, how to implement so that when the application is minimized (or when switching to multitasking mode), the multitasking menu does not display a screenshot of the screen, but just a white sheet?
For example, the way it is implemented in 1Password.

spoiler
pHHUtjHy5Lz5M5M5KNIllOG3Jjhi4fgoRIenwG5j

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg Gamega, 2015-10-12
@Alexey29

try like this

getWindow( ).setFlags( LayoutParams.FLAG_SECURE, LayoutParams.FLAG_SECURE );

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question