use canvas and bitmap for a view