get bitmap from textview in android

Posted by Sponge on Stack Overflow See other posts from Stack Overflow or by Sponge
Published on 2010-06-13T17:03:41Z Indexed on 2010/06/13 17:12 UTC
Read the original article Hit count: 199

Filed under:
|
|
|
|

I want to get the bitmap that is drawn when a textview is displayed but without displaying the textview in the activity. something like this:

TextView t = new TextView(this);
t.forceToDrawItself();
Bitmap b=t.getViewBitmap();

how is this possible?

© Stack Overflow or respective owner

Related posts about android

Related posts about uiview