modify layout and change some image resource