I have a view whose contents exceed the bounds of the display, such as a scrollable content. There are already posts on how to create a bitmap of a view but these are all limited to creating a bitmap that will only show that portion of the view that is visible on the screen. I need to include that part that is not shown.
I thought that the view's drawing cache might be the way to go but am not sure how to do this as the code samples I have found are limited to the screen size.
IMPORTANT: My app is hardware acceleration enabled, so any attempt to use a software canvas will fail as all views are bound to a hardware canvas.