title: Customize android app preview when it is in background with secure flag
body: <p>In my Android app I need to use the SECURE_FLAG to say to Android: "hey you don't take a screenshoot of my app in background!". Ok it works simply using the following lines of code in my activities:</p>
  
  <pre class="lang-java prettyprint-override"><code>@Override
  protected void onCreate(@Nullable Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
  
    getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, WindowManager.LayoutParams.FLAG_SECURE); 
    ...
  }
  </code></pre>
  
  <p>What I obtained is explained in the following screenshot:</p>
  
  <p><a href="https://i.stack.imgur.com/NQdOX.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/NQdOX.jpg" alt="screenshot"></a> </p>
  
  <p>Now.. how can I:</p>
  
  <ol>
  <li>change the icon on the top of the activity preview?</li>
  <li>change the preview of the activity, with another colour or an image?</li>
  </ol>
  
  <p>I look for a solution, but I didn't find anything.. except that it is impossible to do it (if true I think is a pity, for Android). Tnx in advance.</p>