title: How to take screenshot of WHOLE activity page programmatically?
body: <p>How can I take screenshot of whole activity on Android, even if content is not visible?
  Ex. take screenshot of full chat and then generate image file?</p>
  
  <p><img src="https://i.stack.imgur.com/vcfhK.png" alt="enter image description here"></p>
  
  <p>I want screenshot invisible area too.</p>
  
  <p>Thanks</p>