I want to create an image of a view before it's rendered as a preview.
I tried Take a screenshot of a whole View but the problem is that it gives a blank bitmap because the view was not rendered at that time.
I also tried drawing cache, but it gives me a blank bitmap as well.
Is there anyway that I can create an image of a view before it's rendered on the screen?
Thanks in advance!