Fix CollapsingToolbarLayout displaying over icons

CTL scales it title which works in most situations.
There are edge cases though where the title can be
drawn on the Toolbars contents, namely icons.

This CL fixes the edge cases where the collapsed
and expanded text sizes are similar in size, which
means that there is limited/no scaling happening
while scrolling. In this instance we need to cap
any available width when expanded, so that it
'scales' to match the collapsed width when collapsed.

BUG: 28972127
Change-Id: I2c56e77d30054aa60d93f7ca3b91813fde1351f5
1 file changed