Merge "Support for bidirectional view layout along primary dimension."