Changed generated file to layout view.