Hide the expand container when it's not visible

- Update the expand container margins when available actions change
- Also defer pressed state feedback until slight duration (like in
  scrolling containers)

Bug: 182338349
Test: Try dragging pip with close menu, ensure no feedback is visible
      until the full menu shows
Change-Id: I09c88349d03ad85254ff6f5e4757a8a447149735
1 file changed