Removed unnecessary attributes from layout xml