title: Programmatically screenshot when camera is live on surface view in Android
body: <p>I want to take screen shot programmatically in android when camera is live on surface view, I have also inflated multiple layouts on over surface view but when I'm trying to take screen shot programmatically then screenshot has been taken but issue is stay there one that is screenshot is black view means my picture which is live on surface view that not appear in screen shot.</p>