Fixed layout value warning to accept other valid layout values