Merge "Adding horizontalDirection public attribute for View."