Merge "LayoutLib: Properly compute available space to layouts." into honeycomb