Add support fort layout attributes and left, right views