I want to save off a Bitmap of the current screen for my users to share, but I only want to do a partial (I want to remove the areas that have user buttons and such).
I have found code on taking a full screenshot, but cannot figure out how to do this.
Hoping there is something easy that I am just missing.
Thanks in advance.
Put the partial area of which the screenshot is to be taken in a
ViewGRoupsayRelativeLayout. Then when you launch theActivityjust make sure to build the drawing cache as followsAnd then when you actually want ot take the screenshot of that particular area, just get the Screenshot in the form of a
Bitmapfrom the drawing cache