8
I'm trying to create a bitmap from a specific area on the screen. For example in the following image how could I capture the windowed area below and convert it into a bitmap?

I know you can use setDrawingCacheEnabled(true), but that captures the whole view, when all I want is an area within the view.