Move view to XML file.