Added no xml method to add views