How to capture everything currently on screen including Dialogs

前端 未结 3 1373
天命终不由人
天命终不由人 2021-01-12 23:30

I have looked at probably every SO article concering capturing the screen (screenshot, screendump) programmatically on Android, and they usually all end up with the same ans

3条回答
  •  一个人的身影
    2021-01-13 00:19

    It is possible, you need to draw all view roots to the bitmap. Try out this library: https://github.com/jraska/Falcon it can capture Dailogs to your screenshot.

提交回复
热议问题