changing layout to run off of xml file