Improve layout hooking.
Technically YouTube manages most of its ads layouts (attachment and
visibility) grammatically, so hiding the layouts after the
"inflate" event is not enough in this case, i tried to workaround
it, but still there are (and was) some cases where the ad card
parent layout has a fixed height, hiding the card causes a blank
gap on the top of the cards, unfortunately there is no (easy/clean)
way to get the parent layout at that time and resize it, because it
is not attached yet.
Tested against YouTube 12.43.52
This app has no
advertisements