added attributes for XML layout