TextView view= new TextView(this);this
view.setDrawingCacheEnabled(true); spa
view.measure(MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED), MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED)); get
view.layout(0, 0, view.getMeasuredWidth(), view.getMeasuredHeight()); it
Bitmap bitmap = view.getDrawingCache();map