Fix TabLayout when used in a HorizontalScrollView

It's not an intended use case, but it does show up
some problems with TabLayout's measure code when
it's given an UNSPECIFIED measure spec. This CL
fixes TabLayout so that it measures itself correctly.

BUG: 21913808
Change-Id: I1674f3da1da334543c943ab3b7aa9d1920f325b6
1 file changed