Would anyone please try to explain to me why
public void addView(View child) { child.setDrawingCacheEnabled(true); child.setWillNotCacheDrawing(false);
Im using this instead.
myView.getViewTreeObserver().addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutListener() { @Override public void onGlobalLayout() { Bitmap bitmap = Bitmap.createBitmap(myView.getDrawingCache()); } });