Fix view cookie for Material TabView

In the material design library, a TabLayout contains TabView objects,
but those are defined in XML with TabItem tags. Since the TabItem cookie
is set to the children of TabView, we can simply reset the TabView
cookie to the value of one its child's cookie.

Bug: 37137006
Test: checked manually
Change-Id: I06ca802b8e6ab72a3cf7a05b56bce794eccbefa4
(cherry picked from commit 25e9fe5c4dad33777c490a0a4302bec20599347f)
Merged-In:I06ca802b8e6ab72a3cf7a05b56bce794eccbefa4
1 file changed