prepare layout to use imageview as background