Samples/ChangingBitmaps: create layer before they are added to view.